This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Avatar 1.15 Reference Guide

ovrAvatarMaterialState Struct Reference

Material state.

Data Fields

ovrAvatarVector4f
Underlying base color for the material.
ovrAvatarMaterialMaskType
Mask type of the base color.
ovrAvatarVector4f
Parameters for the base mask type.
ovrAvatarVector4f
Axis used by some mask types.
ovrAvatarAssetID
Texture id for the base alpha mask (0 if unused)
ovrAvatarVector4f
UV scale and offset parameters for the alpha mask.
ovrAvatarAssetID
Texture id for the normal map (0 if unused)
ovrAvatarVector4f
UV scale and offset parameters for the normal map.
ovrAvatarAssetID
Texture id for the parallax map (0 if unused)
ovrAvatarVector4f
UV scale and offset parameters for the parallax map.
ovrAvatarAssetID
Texture id for the roughness map (0 if unused)
ovrAvatarVector4f
UV scale and offset parameters for the roughness map.
uint32_t
Number of layers.
ovrAvatarMaterialLayerState
layers ( )
State for each material layer.

Field Documentation

ovrAvatarVector4f ovrAvatarMaterialState::baseColor ( )
Underlying base color for the material.
ovrAvatarMaterialMaskType ovrAvatarMaterialState::baseMaskType ( )
Mask type of the base color.
ovrAvatarVector4f ovrAvatarMaterialState::baseMaskParameters ( )
Parameters for the base mask type.
ovrAvatarVector4f ovrAvatarMaterialState::baseMaskAxis ( )
Axis used by some mask types.
ovrAvatarAssetID ovrAvatarMaterialState::alphaMaskTextureID ( )
Texture id for the base alpha mask (0 if unused)
ovrAvatarVector4f ovrAvatarMaterialState::alphaMaskScaleOffset ( )
UV scale and offset parameters for the alpha mask.
ovrAvatarAssetID ovrAvatarMaterialState::normalMapTextureID ( )
Texture id for the normal map (0 if unused)
ovrAvatarVector4f ovrAvatarMaterialState::normalMapScaleOffset ( )
UV scale and offset parameters for the normal map.
ovrAvatarAssetID ovrAvatarMaterialState::parallaxMapTextureID ( )
Texture id for the parallax map (0 if unused)
ovrAvatarVector4f ovrAvatarMaterialState::parallaxMapScaleOffset ( )
UV scale and offset parameters for the parallax map.
ovrAvatarAssetID ovrAvatarMaterialState::roughnessMapTextureID ( )
Texture id for the roughness map (0 if unused)
ovrAvatarVector4f ovrAvatarMaterialState::roughnessMapScaleOffset ( )
UV scale and offset parameters for the roughness map.
uint32_t ovrAvatarMaterialState::layerCount ( )
Number of layers.
ovrAvatarMaterialLayerState ovrAvatarMaterialState::layers[OVR_AVATAR_MAX_MATERIAL_LAYER_COUNT] ( )
State for each material layer.
The documentation for this struct was generated from the following file: Include/OVR_Avatar.h