Struct ParticleSystemSharp.Particle
Assembly: solution.dll
Syntax
public struct ParticleSystemSharp.Particle
Constructors
Particle(float3, float3, float3, float3, float3, float3, float3, float3, float4, float4, uint, float, float, int, in Entry, UInt32)
Declaration
public Particle(float3 position, float3 velocity, float3 animatedVelocity, float3 axisOfRotation, float3 rotation, float3 rotationSpeed, float3 startSize, float3 sizeMul, float4 startColor, float4 renderColor, uint randomSeed, float localTime, float startLifetime, int meshIndex, in Entry entry, UInt32 flags)
Parameters
Properties
angularVelocity
Declaration
public float angularVelocity { get; set; }
Property Value
angularVelocity3D
Declaration
public Vector3 angularVelocity3D { get; set; }
Property Value
animatedVelocity
Declaration
public Vector3 animatedVelocity { get; }
Property Value
axisOfRotation
Declaration
public Vector3 axisOfRotation { get; set; }
Property Value
color
Declaration
public Color32 color { get; set; }
Property Value
entry
Declaration
public Entry entry { get; }
Property Value
meshIndex
Declaration
public int meshIndex { get; set; }
Property Value
position
Declaration
public Vector3 position { get; set; }
Property Value
randomSeed
Declaration
public UInt32 randomSeed { get; set; }
Property Value
remainingLifetime
Declaration
public float remainingLifetime { get; set; }
Property Value
rotation
Declaration
public float rotation { get; set; }
Property Value
rotation3D
Declaration
public Vector3 rotation3D { get; set; }
Property Value
sizeMultiplier
Declaration
public float sizeMultiplier { get; set; }
Property Value
sizeMultiplier3D
Declaration
public Vector3 sizeMultiplier3D { get; set; }
Property Value
startColor
Declaration
public Color32 startColor { get; set; }
Property Value
startLifetime
Declaration
public float startLifetime { get; set; }
Property Value
startSize
Declaration
public float startSize { get; set; }
Property Value
startSize3D
Declaration
public Vector3 startSize3D { get; set; }
Property Value
totalVelocity
Declaration
public Vector3 totalVelocity { get; }
Property Value
velocity
Declaration
public Vector3 velocity { get; set; }
Property Value
Methods
GetCurrentColor(ParticleSystemSharp)
Declaration
public Color32 GetCurrentColor(ParticleSystemSharp system)
Parameters
Returns
GetCurrentSize(ParticleSystemSharp)
Declaration
public float GetCurrentSize(ParticleSystemSharp system)
Parameters
Returns
GetCurrentSize3D(ParticleSystemSharp)
Declaration
public Vector3 GetCurrentSize3D(ParticleSystemSharp system)
Parameters
Returns
GetMeshIndex(ParticleSystemSharp)
Declaration
public int GetMeshIndex(ParticleSystemSharp system)
Parameters
Returns
SetMeshIndex(int)
Declaration
public void SetMeshIndex(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
SetParticleData(SparseTable, in Entry, bool, bool, bool, bool)
Declaration
public void SetParticleData(SparseTable sparseTable, in Entry entry, bool use3DRotation, bool use3DSize, bool useAxisOfRotation, bool useMeshIndex)
Parameters
SetParticleData(in SparseTable, ref Particle, in Entry, bool, bool, bool, bool)
Declaration
public static void SetParticleData(in SparseTable sparseTable, ref ParticleSystemSharp.Particle particle, in Entry entry, bool use3DRotation, bool use3DSize, bool useAxisOfRotation, bool useMeshIndex)
Parameters
use3DRotation()
Declaration
public bool use3DRotation()
Returns
use3DSize()
Declaration
Returns