Version: 2023.1
public void BakeTrailsMesh (Mesh mesh, ParticleSystemBakeMeshOptions options);
public void BakeTrailsMesh (Mesh mesh, Camera camera, ParticleSystemBakeMeshOptions options);
Obsolete public void BakeTrailsMesh (Mesh mesh, bool useTransform);
Obsolete public void BakeTrailsMesh (Mesh mesh, Camera camera, bool useTransform);

参数

mesh 要接收粒子轨迹快照的静态网格。
camera 用于确定摄像机空间轨迹面向方向的摄像机。
options 指定如何在烘焙网格中包含变换组件的旋转和缩放。
useTransform 指定如何在烘焙网格中包含变换组件的旋转和缩放。

描述

Creates a snapshot of ParticleSystem Trails and stores them in a mesh.