ExMujoco.Types.RndFlag (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjRND_ADDITIVE is 3.

mjRND_CULL_FACE is 10.

mjRND_DEPTH is 7.

mjRND_FOG is 5.

mjRND_HAZE is 6.

mjRND_IDCOLOR is 9.

mjNRNDFLAG is 12.

mjRND_POST_PROCESSING is 11.

mjRND_REFLECTION is 2.

mjRND_SEGMENT is 8.

mjRND_SHADOW is 0.

mjRND_SKYBOX is 4.

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.

mjRND_WIREFRAME is 1.

Types

t()

@type t() :: integer()

Functions

additive()

@spec additive() :: 3

mjRND_ADDITIVE is 3.

cull_face()

@spec cull_face() :: 10

mjRND_CULL_FACE is 10.

depth()

@spec depth() :: 7

mjRND_DEPTH is 7.

fog()

@spec fog() :: 5

mjRND_FOG is 5.

haze()

@spec haze() :: 6

mjRND_HAZE is 6.

idcolor()

@spec idcolor() :: 9

mjRND_IDCOLOR is 9.

mjnrndflag()

@spec mjnrndflag() :: 12

mjNRNDFLAG is 12.

post_processing()

@spec post_processing() :: 11

mjRND_POST_PROCESSING is 11.

reflection()

@spec reflection() :: 2

mjRND_REFLECTION is 2.

segment()

@spec segment() :: 8

mjRND_SEGMENT is 8.

shadow()

@spec shadow() :: 0

mjRND_SHADOW is 0.

skybox()

@spec skybox() :: 4

mjRND_SKYBOX is 4.

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.

wireframe()

@spec wireframe() :: 1

mjRND_WIREFRAME is 1.