ParticleTransform Class
              
              
              Namespace: Stride.Particles
              Assembly: Stride.Particles.dll
              
              
              
              
              
              
                 System.Object →  
                ParticleTransform
              
              
              
              
              
              
                [DataContract("ParticleTransform")]
public class 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
              
              
              
              
              
              
              Rotation
              
              
              
              
              
                [DataMember(3)]
[Display("Rotation offset", null)]
public Quaternion Rotation { get; set; }
               
              
              Property Value
              
              
              
              
              
              
              Scale
              
              
              
              
              
                [DataMember(5)]
[Display("Scale offset", null)]
public Vector3 Scale { get; set; }
               
              
              Property Value
              
              
              
              
              
              
              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
              
              
              
              
              
              
              WorldRotation
              
              
              
              
              
                public Quaternion WorldRotation { get; }
               
              
              Property Value
              
              
              
              
              
              
              WorldScale
              
              
              
              
              
                public Vector3 WorldScale { get; }
               
              
              Property Value
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              SetParentTransform(ParticleTransform)
              
              
              
              
              
                public void SetParentTransform(ParticleTransform parentTransform)
               
              
              Parameters
              
              
              
 
              
               
              
              
              
              
              Extension Methods