Location
Describes what part of the geometry an attribute attaches to.
See the documentation for each Geometry
variant for a list of what locations are valid.
Values
Vertices
- The attribute contains one value for each point, vertex, or block corner.
Primitives
- The attribute contains one value for each line segment, triangle, or block. For sub-blocked block models that means parent blocks.
Subblocks
- The attribute contains one value for each sub-block in a block model.
Elements
- The attribute contains one value for each sub-element in a
Composite
. Projected
- Used by projected texture attributes. The texture is projected onto the element
Categories
- Used for category sub-attributes. The attribute contains one value for each category.
Schema
{
"type": "string",
"enum": [
"Vertices",
"Primitives",
"Subblocks",
"Elements",
"Projected",
"Categories"
]
}