기술 자료

Unity Engine

Unity Engine

firstVertex

First vertex in the index buffer for this sub-mesh.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int firstVertex { readonly get; set; }

Remarks

Together with SubMeshDescriptor.vertexCount, this defines the range of vertices that are possibly used by this sub-mesh. These values are important for any CPU-based mesh processing that would be done, for example dynamic batching or CPU skinning.
Additional Resources: SubMeshDescriptor.vertexCount.