Contents

semantic

The semantic of the vertex attribute, which describes how you want RealityKit to interpret the attribute.

Declaration

var semantic: LowLevelMesh.VertexSemantic

Discussion

RealityKit consults the vertex semantic when interpreting the data in your LowLevelMesh. For example, an attribute with the semantic value of LowLevelMesh.VertexSemantic.position uses to determine the position of a vertex.

See Also

Describing an attribute