scene[Get] | |
Func< string, Material, Texture2D > | textureUriHandler[Get] |
static readonly Vector3 | GLTFToUnitySpace[Get] |
static readonly Vector3 | GLTFToUnityTangent[Get] |
static readonly Vector4 |
OVRGLTFLoader ( string fileName ) | |
OVRGLTFLoader ( byte[] data ) | |
OVRGLTFLoader ( Func< Stream > deferredStream ) | |
IEnumerator | |
void | SetModelShader ( Shader shader ) |
void | SetModelAlphaBlendShader ( Shader shader ) |
void | SetTextureQualityFiltering ( OVRTextureQualityFiltering loadedTexturesQuality ) All textures in the glb will be loaded with the following setting. |
void | SetMipMapBias ( float loadedTexturesMipmapBiasing ) All textures in the glb will be preset with this MipMap value. |
static OVRTextureQualityFiltering | DetectTextureQuality ( in Texture2D srcTexture ) Decodes the Texture Quality setting from the input Texture2D properties' values. |
static void | Applies the input Texture Quality setting into the ref Texture2D provided as input. |
static bool | ValidateGLB ( Stream glbStream ) |
static byte[] | |
static bool |
OVRGLTFScene OVRGLTFLoader.scene |
---|
No description available.
|
Func<string, Material, Texture2D> OVRGLTFLoader.textureUriHandler |
---|
No description available.
|
readonly Vector3 OVRGLTFLoader.GLTFToUnitySpace |
---|
No description available.
|
readonly Vector3 OVRGLTFLoader.GLTFToUnityTangent |
---|
No description available.
|
readonly Vector4 OVRGLTFLoader.GLTFToUnitySpace_Rotation |
---|
No description available.
|
OVRGLTFLoader.OVRGLTFLoader ( string fileName ) |
---|
No description available.
|
OVRGLTFLoader.OVRGLTFLoader ( byte[] data ) |
---|
No description available.
|
OVRGLTFLoader.OVRGLTFLoader ( Func< Stream > deferredStream ) |
---|
No description available.
|
OVRGLTFScene OVRGLTFLoader.LoadGLB ( bool supportAnimation, bool loadMips ) |
---|
No description available.
|
IEnumerator OVRGLTFLoader.LoadGLBCoroutine ( bool supportAnimation, bool loadMips ) |
---|
No description available.
|
void OVRGLTFLoader.SetModelShader ( Shader shader ) |
---|
No description available.
|
void OVRGLTFLoader.SetModelAlphaBlendShader ( Shader shader ) |
---|
No description available.
|
void OVRGLTFLoader.SetTextureQualityFiltering ( OVRTextureQualityFiltering loadedTexturesQuality ) |
---|
All textures in the glb will be loaded with the following setting. The default is Bilinear. Once loaded, textures will be read-only on GPU memory. Parameters loadedTexturesQuality The quality setting. |
void OVRGLTFLoader.SetMipMapBias ( float loadedTexturesMipmapBiasing ) |
---|
All textures in the glb will be preset with this MipMap value. The default is 0. Only supported when MipMaps are loaded and the provided shader has a property named "_MainTexMMBias" Parameters loadedTexturesMipmapBiasing The value for bias. Value is clamped between [-1,1] |
static OVRTextureQualityFiltering OVRGLTFLoader.DetectTextureQuality ( in Texture2D srcTexture ) |
---|
Decodes the Texture Quality setting from the input Texture2D properties' values. Parameters srcTexture The input Texture2D Returns The enum TextureQualityFiltering representing the quality. |
static void OVRGLTFLoader.ApplyTextureQuality ( OVRTextureQualityFiltering qualityLevel, ref Texture2D destTexture ) |
---|
Applies the input Texture Quality setting into the ref Texture2D provided as input. Texture2D must not be readonly. Parameters qualityLevel The quality level to apply destTextureThe destination Texture2D to apply quality setting to |
static bool OVRGLTFLoader.ValidateGLB ( Stream glbStream ) |
---|
No description available.
|
static byte[] OVRGLTFLoader.ReadChunk ( Stream glbStream, OVRChunkType type ) |
---|
No description available.
|
static bool OVRGLTFLoader.ValidateChunk ( Stream glbStream, OVRChunkType type, out uint chunkLength ) |
---|
No description available.
|