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

Shader shader[Get]
int textureId[Get]
OVRTextureData texture[Get]
Color baseColorFactor[Get]
Did you find this page helpful?
Thumbs up icon
Thumbs down icon