mjrVertexAttributeUsage_, from MuJoCo's headers, as numbers. All 5 values carry a number in the header.
Summary
Functions
mjVERTEX_ATTRIBUTE_USAGE_COLOR is 4.
mjVERTEX_ATTRIBUTE_USAGE_NORMAL is 1.
mjVERTEX_ATTRIBUTE_USAGE_POSITION is 0.
mjVERTEX_ATTRIBUTE_USAGE_TANGENTS is 2.
mjVERTEX_ATTRIBUTE_USAGE_UV is 3.
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_usage_color() :: 4
mjVERTEX_ATTRIBUTE_USAGE_COLOR is 4.
@spec attribute_usage_normal() :: 1
mjVERTEX_ATTRIBUTE_USAGE_NORMAL is 1.
@spec attribute_usage_position() :: 0
mjVERTEX_ATTRIBUTE_USAGE_POSITION is 0.
@spec attribute_usage_tangents() :: 2
mjVERTEX_ATTRIBUTE_USAGE_TANGENTS is 2.
@spec attribute_usage_uv() :: 3
mjVERTEX_ATTRIBUTE_USAGE_UV is 3.
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.