TriLib
Search Results for

    Show / Hide Table of Contents

    Class AutodeskInteractiveMaterialsHelper

    Provides helper methods to configure an AssetLoaderOptions instance with the AutodeskInteractiveStandardMaterialMapper, ensuring correct interpretation and rendering of Autodesk Interactive materials.

    Inheritance
    object
    Object
    ScriptableObject
    MaterialsHelper
    AutodeskInteractiveMaterialsHelper
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: TriLibCore.Utils
    Assembly: Assembly-CSharp.dll
    Syntax
    [CreateAssetMenu(menuName = "TriLib/MaterialsHelper/Autodesk Interactive Materials Helper", fileName = "AutodeskInteractiveMaterialsHelper")]
    public class AutodeskInteractiveMaterialsHelper : MaterialsHelper

    Methods

    Setup(ref AssetLoaderOptions)

    Configures the specified assetLoaderOptions to use the AutodeskInteractiveStandardMaterialMapper, adding it to the list of MaterialMapper instances. This method also adjusts certain properties of AssetLoaderOptions to better handle Autodesk Interactive material data (e.g., allowing displacement textures).

    Declaration
    public override void Setup(ref AssetLoaderOptions assetLoaderOptions)
    Parameters
    Type Name Description
    AssetLoaderOptions assetLoaderOptions

    A reference to the AssetLoaderOptions object being configured. If null, a default instance is created automatically.

    Overrides
    MaterialsHelper.Setup(ref AssetLoaderOptions)

    SetupStatic(ref AssetLoaderOptions)

    A static convenience method to create a temporary instance of AutodeskInteractiveMaterialsHelper and call Setup(ref AssetLoaderOptions) on the provided assetLoaderOptions.

    Declaration
    public static void SetupStatic(ref AssetLoaderOptions assetLoaderOptions)
    Parameters
    Type Name Description
    AssetLoaderOptions assetLoaderOptions

    A reference to an existing AssetLoaderOptions. If null, a default loader options object is created before applying the Autodesk Interactive settings.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX