subscript(_:)
Provides the source float triplet at the subscripted index.
Declaration
@nonobjc subscript(index: Int32) -> (Float, Float, Float) { get }Discussion
This subscript operates on three-component geometry sources with a format of MTLVertexFormat.float3. This operator returns an (x, y, z) offset relative to its parent anchor’s position that corresponds to the subscripted vertex position in vertices and to the subscripted normal vector in normals.