Version: 2023.1
言語: 日本語
public void BakeMesh (Mesh mesh, bool useTransform);
public void BakeMesh (Mesh mesh, Camera camera, bool useTransform);

パラメーター

mesh A static mesh that will receive the snapshot of the trail.
camera The camera used for determining which way camera-space trails will face.
useTransform Include the rotation and scale of the Transform in the baked mesh.

説明

Creates a snapshot of TrailRenderer and stores it in mesh.