BakeTrailsMesh
Creates a snapshot of ParticleSystem Trails and stores them in a mesh.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
BakeTrailsMesh(Mesh, bool)
Creates a snapshot of ParticleSystem Trails and stores them in a .
meshpublic void BakeTrailsMesh(Mesh mesh, bool useTransform = false)
Parameters
BakeTrailsMesh(Mesh, Camera, bool)
Creates a snapshot of ParticleSystem Trails and stores them in a .
meshpublic void BakeTrailsMesh(Mesh mesh, Camera camera, bool useTransform = false)
Parameters
BakeTrailsMesh(Mesh, ParticleSystemBakeMeshOptions)
Creates a snapshot of ParticleSystem Trails and stores them in a .
meshpublic void BakeTrailsMesh(Mesh mesh, ParticleSystemBakeMeshOptions options)
Parameters
A static Mesh to receive the snapshot of the particle trails.
Specifies whether to include the rotation and scale of the Transform in the baked Mesh.
BakeTrailsMesh(Mesh, Camera, ParticleSystemBakeMeshOptions)
Creates a snapshot of ParticleSystem Trails and stores them in a .
meshpublic void BakeTrailsMesh(Mesh mesh, Camera camera, ParticleSystemBakeMeshOptions options)
Parameters
A static Mesh to receive the snapshot of the particle trails.
The Camera used to determine which way camera-space trails face.
Specifies whether to include the rotation and scale of the Transform in the baked Mesh.