Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ParticleTransform Class

    Namespace: Stride.Particles
    Assembly: Stride.Particles.dll
    System.Object → ParticleTransform
    Derived from ParticleTransform: ParticleModule

    [DataContract("ParticleTransform")]
    public class ParticleTransform
    Name Description
    Fields
    DisplayParticlePosition
    DisplayParticleRotation
    DisplayParticleScale
    DisplayParticleScaleUniform
    Properties
    InheritPosition
    InheritRotation
    InheritScale
    Position
    Rotation
    Scale
    ScaleUniform
    WorldPosition
    WorldRotation
    WorldScale
    Methods
    SetParentTransform(ParticleTransform)
    | Improve this Doc View Source

    Fields


    DisplayParticlePosition

    [DataMember(10)]
    public bool DisplayParticlePosition
    Field Value
    Type Description
    System.Boolean

    DisplayParticleRotation

    [DataMember(11)]
    public bool DisplayParticleRotation
    Field Value
    Type Description
    System.Boolean

    DisplayParticleScale

    [DataMember(12)]
    public bool DisplayParticleScale
    Field Value
    Type Description
    System.Boolean

    DisplayParticleScaleUniform

    [DataMember(13)]
    public bool DisplayParticleScaleUniform
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Properties


    InheritPosition

    [DataMember(0)]
    [Display("Position inheritance", null)]
    public bool InheritPosition { get; set; }
    Property Value
    Type Description
    System.Boolean

    InheritRotation

    [DataMember(2)]
    [Display("Rotation inheritance", null)]
    public bool InheritRotation { get; set; }
    Property Value
    Type Description
    System.Boolean

    InheritScale

    [DataMember(4)]
    [Display("Scale inheritance", null)]
    public bool InheritScale { get; set; }
    Property Value
    Type Description
    System.Boolean

    Position

    [DataMember(1)]
    [Display("Position offset", null)]
    public Vector3 Position { get; set; }
    Property Value
    Type Description
    Vector3

    Rotation

    [DataMember(3)]
    [Display("Rotation offset", null)]
    public Quaternion Rotation { get; set; }
    Property Value
    Type Description
    Quaternion

    Scale

    [DataMember(5)]
    [Display("Scale offset", null)]
    public Vector3 Scale { get; set; }
    Property Value
    Type Description
    Vector3

    ScaleUniform

    [DataMember(6)]
    [Display("Uniform Scale", null)]
    public float ScaleUniform { get; set; }
    Property Value
    Type Description
    System.Single

    WorldPosition

    public Vector3 WorldPosition { get; }
    Property Value
    Type Description
    Vector3

    WorldRotation

    public Quaternion WorldRotation { get; }
    Property Value
    Type Description
    Quaternion

    WorldScale

    public Vector3 WorldScale { get; }
    Property Value
    Type Description
    Vector3
    | Improve this Doc View Source

    Methods


    SetParentTransform(ParticleTransform)

    public void SetParentTransform(ParticleTransform parentTransform)
    Parameters
    Type Name Description
    ParticleTransform parentTransform

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation