Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 793 Bytes

geometryPosition.cmn.md

File metadata and controls

29 lines (20 loc) · 793 Bytes

geometryPosition

Position vertex attribute. Relative to the center of oriented-bounded box of the node.

Related:

cmn::geometryBuffer

Properties

Property Type Description
type string Vertex positions relative to Oriented-bounding-box center.
Must be:
  • Float32
component integer Number of coordinates per vertex position. Must be 3.
encoding string Encoding.
Must be:
  • none
binding string
Must be:
  • per-vertex

Note: properties in bold are required

Examples

Example: {x,y,z} position as float32

 {
  "type": "Float32",
  "component": 3
}