기술 자료

Unity Engine

Unity Engine

Attributes

The MeshVertexAttributes that were written to the MeshGenerationResult.Mesh.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public readonly MeshVertexAttributes Attributes { get; }

Remarks

The vertex attributes will be the intersection of those requested by the caller of XRMeshSubsystem.GenerateMeshAsync and what the subsystem's mesh provider is able to supply. For example, if you request vertex tangents, but the mesh provider cannot supply them, then MeshGenerationResult.Attributes will not include tangents.
Additional Resources: XRMeshSubsystem.GenerateMeshAsync