mjrVertexAttributeType_ — data format of a vertex attribute. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.
Summary
Functions
mjVERTEX_ATTRIBUTE_TYPE_FLOAT2 is 0 — 2D 32-bit float vector.
mjVERTEX_ATTRIBUTE_TYPE_FLOAT3 is 1 — 3D 32-bit float vector.
mjVERTEX_ATTRIBUTE_TYPE_FLOAT4 is 2 — 4D 32-bit float vector.
mjVERTEX_ATTRIBUTE_TYPE_UBYTE4 is 3 — 4D unsigned 8-bit byte vector.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec attribute_type_float2() :: 0
mjVERTEX_ATTRIBUTE_TYPE_FLOAT2 is 0 — 2D 32-bit float vector.
@spec attribute_type_float3() :: 1
mjVERTEX_ATTRIBUTE_TYPE_FLOAT3 is 1 — 3D 32-bit float vector.
@spec attribute_type_float4() :: 2
mjVERTEX_ATTRIBUTE_TYPE_FLOAT4 is 2 — 4D 32-bit float vector.
@spec attribute_type_ubyte4() :: 3
mjVERTEX_ATTRIBUTE_TYPE_UBYTE4 is 3 — 4D unsigned 8-bit byte vector.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.