API reference
API reference
Select your platform
No SDKs available
No versions available

OVRMaterialData Struct

Struct that contains material data from a GLTF (GL Transmission Format file) required for creating a Unity material.
This includes the shader, texture data, and base color.

Fields

baseColorFactor : Color
Signature
Color baseColorFactor
shader : Shader
Signature
Shader shader
texture : OVRTextureData
Signature
OVRTextureData texture
textureId : int
Signature
int textureId