ExMujoco.Types.TextureRole (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjTEXROLE_EMISSIVE is 7.

mjTEXROLE_METALLIC is 4.

mjNTEXROLE is 10.

mjTEXROLE_NORMAL is 5.

mjTEXROLE_OCCLUSION is 2.

mjTEXROLE_OPACITY is 6.

mjTEXROLE_ORM is 9.

mjTEXROLE_RGB is 1.

mjTEXROLE_RGBA is 8.

mjTEXROLE_ROUGHNESS is 3.

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

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

mjTEXROLE_USER is 0.

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

Types

t()

@type t() :: integer()

Functions

emissive()

@spec emissive() :: 7

mjTEXROLE_EMISSIVE is 7.

metallic()

@spec metallic() :: 4

mjTEXROLE_METALLIC is 4.

mjntexrole()

@spec mjntexrole() :: 10

mjNTEXROLE is 10.

normal()

@spec normal() :: 5

mjTEXROLE_NORMAL is 5.

occlusion()

@spec occlusion() :: 2

mjTEXROLE_OCCLUSION is 2.

opacity()

@spec opacity() :: 6

mjTEXROLE_OPACITY is 6.

orm()

@spec orm() :: 9

mjTEXROLE_ORM is 9.

rgb()

@spec rgb() :: 1

mjTEXROLE_RGB is 1.

rgba()

@spec rgba() :: 8

mjTEXROLE_RGBA is 8.

roughness()

@spec roughness() :: 3

mjTEXROLE_ROUGHNESS is 3.

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.

user()

@spec user() :: 0

mjTEXROLE_USER is 0.

values()

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

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