Class LoadModelWithTiffTextures
Sample component that loads a 3D model via a file-picker using a custom TextureMapper capable of handling TIFF textures.
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: TriLibCore.Tiff
Assembly: Assembly-CSharp.dll
Syntax
public class LoadModelWithTiffTextures : MonoBehaviour
Remarks
This sample demonstrates how to configure the AssetLoaderOptions to use the TIFF TextureMapper, invoke the file-picker, and handle callbacks for the model loading process (including progress, errors, and post-loading adjustments). Once the model is loaded, it is automatically positioned within the scene so that the main camera frames it appropriately.
Methods
LoadModel()
Creates the AssetLoaderOptions instance and displays the Model file-picker.
Declaration
public void LoadModel()
Remarks
You can create the AssetLoaderOptions by right-clicking on the Assets Explorer and selecting "TriLib->Create->AssetLoaderOptions->Pre-Built AssetLoaderOptions".