Class ParticleSystemRenderer
Inheritance
ParticleSystemRenderer
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
[RequireComponent(typeof(Transform))]
public sealed class ParticleSystemRenderer : Renderer
Properties
activeVertexStreamsCount
Declaration
public int activeVertexStreamsCount { get; }
Property Value
alignment
Declaration
public ParticleSystemRenderSpace alignment { get; set; }
Property Value
allowRoll
Declaration
public bool allowRoll { get; set; }
Property Value
cameraVelocityScale
Declaration
public float cameraVelocityScale { get; set; }
Property Value
enableGPUInstancing
Declaration
public bool enableGPUInstancing { get; set; }
Property Value
flip
Declaration
public Vector3 flip { get; set; }
Property Value
lengthScale
Declaration
public float lengthScale { get; set; }
Property Value
maskInteraction
Declaration
public SpriteMaskInteraction maskInteraction { get; set; }
Property Value
maxParticleSize
Declaration
public float maxParticleSize { get; set; }
Property Value
mesh
Declaration
public Mesh mesh { get; set; }
Property Value
|
Improve this Doc
View Source
meshCount
Declaration
public int meshCount { get; }
Property Value
minParticleSize
Declaration
public float minParticleSize { get; set; }
Property Value
normalDirection
Declaration
public float normalDirection { get; set; }
Property Value
pivot
Declaration
public Vector3 pivot { get; set; }
Property Value
renderMode
Declaration
public ParticleSystemRenderMode renderMode { get; set; }
Property Value
shadowBias
Declaration
public float shadowBias { get; set; }
Property Value
sortingFudge
Declaration
public float sortingFudge { get; set; }
Property Value
sortMode
Declaration
public ParticleSystemSortMode sortMode { get; set; }
Property Value
trailMaterial
Declaration
public Material trailMaterial { get; set; }
Property Value
velocityScale
Declaration
public float velocityScale { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AreVertexStreamsEnabled(ParticleSystemVertexStreams)
Declaration
[Obsolete("AreVertexStreamsEnabled is deprecated.Use GetActiveVertexStreams instead.", false)]
public bool AreVertexStreamsEnabled(ParticleSystemVertexStreams streams)
Parameters
Returns
|
Improve this Doc
View Source
BakeMesh(Mesh, Boolean)
Declaration
public void BakeMesh(Mesh mesh, bool useTransform = false)
Parameters
BakeMesh(Mesh, Camera, Boolean)
Declaration
public void BakeMesh(Mesh mesh, Camera camera, bool useTransform = false)
Parameters
|
Improve this Doc
View Source
BakeTrailsMesh(Mesh, Boolean)
Declaration
public void BakeTrailsMesh(Mesh mesh, bool useTransform = false)
Parameters
BakeTrailsMesh(Mesh, Camera, Boolean)
Declaration
public void BakeTrailsMesh(Mesh mesh, Camera camera, bool useTransform = false)
Parameters
|
Improve this Doc
View Source
DisableVertexStreams(ParticleSystemVertexStreams)
Declaration
[Obsolete("DisableVertexStreams is deprecated.Use SetActiveVertexStreams instead.", false)]
public void DisableVertexStreams(ParticleSystemVertexStreams streams)
Parameters
|
Improve this Doc
View Source
EnableVertexStreams(ParticleSystemVertexStreams)
Declaration
[Obsolete("EnableVertexStreams is deprecated.Use SetActiveVertexStreams instead.", false)]
public void EnableVertexStreams(ParticleSystemVertexStreams streams)
Parameters
|
Improve this Doc
View Source
GetActiveVertexStreams(List<ParticleSystemVertexStream>)
Declaration
public void GetActiveVertexStreams(List<ParticleSystemVertexStream> streams)
Parameters
|
Improve this Doc
View Source
GetEnabledVertexStreams(ParticleSystemVertexStreams)
Declaration
[Obsolete("GetEnabledVertexStreams is deprecated.Use GetActiveVertexStreams instead.", false)]
public ParticleSystemVertexStreams GetEnabledVertexStreams(ParticleSystemVertexStreams streams)
Parameters
Returns
GetMeshes(Mesh[])
Declaration
public int GetMeshes(Mesh[] meshes)
Parameters
Type |
Name |
Description |
Mesh[] |
meshes |
|
Returns
|
Improve this Doc
View Source
SetActiveVertexStreams(List<ParticleSystemVertexStream>)
Declaration
public void SetActiveVertexStreams(List<ParticleSystemVertexStream> streams)
Parameters
|
Improve this Doc
View Source
SetMeshes(Mesh[])
Declaration
public void SetMeshes(Mesh[] meshes)
Parameters
Type |
Name |
Description |
Mesh[] |
meshes |
|
SetMeshes(Mesh[], Int32)
Declaration
public void SetMeshes(Mesh[] meshes, int size)
Parameters
Type |
Name |
Description |
Mesh[] |
meshes |
|
Int32 |
size |
|
Extension Methods