Version: 2023.2
언어: 한국어
public int GetMeshes (out Mesh[] meshes);

파라미터

meshes An array this function populates with the list of Meshes the ParticleSystemRenderer uses for particle Mesh selection. If the array is smaller than the number of Meshes, this function cannot populate it with every Mesh. If the array is larger than the number of Meshes, this function ignores indices greater than the number of Meshes. Use ParticleSystemRenderer.meshCount to get the number of Meshes the ParticleSystemRenderer has.

반환

int The number of Meshes this function wrote to the destination array.

설명

Gets the array of Meshes to use when selecting particle meshes.

Additional resources: ParticleSystemRenderer.renderMode.