ExMujoco.Types.CatBit (ExMujoco v0.1.1)

Copy Markdown View Source

mjtCatBit_, from MuJoCo's headers, as numbers. All 4 values carry a number in the header.

Summary

Functions

mjCAT_ALL is 7.

mjCAT_DECOR is 4.

mjCAT_DYNAMIC is 2.

mjCAT_STATIC is 1.

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

t()

@type t() :: integer()

Functions

all()

@spec all() :: 7

mjCAT_ALL is 7.

decor()

@spec decor() :: 4

mjCAT_DECOR is 4.

dynamic()

@spec dynamic() :: 2

mjCAT_DYNAMIC is 2.

static()

@spec static() :: 1

mjCAT_STATIC is 1.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.