Instance Property

semantic

The semantic value (or attribute) the geometry source describes for each vertex.

Declaration

@property(nonatomic, readonly) SCNGeometrySourceSemantic semantic;

Discussion

A semantic describes an attribute for each vertex, such as position, color, surface normal vector, or texture coordinates.

See Geometry Semantic Identifiers for available values.

See Also

Inspecting a Geometry Source

data

The data for the geometry source.

vectorCount

The number of vectors in the data.

floatComponents

A Boolean value that indicates whether vector components are floating-point values.

componentsPerVector

The number of scalar components in each vector.

bytesPerComponent

The size, in bytes, of each vector component.

dataOffset

The offset, in bytes, from the beginning of the data to the first vector component to be used in the geometry source.

dataStride

The number of bytes from a vector to the next one in the data.