Class AutodeskInteractiveStandardMaterialMapper
A specialized StandardMaterialMapper that converts TriLib virtual materials into Autodesk Interactive materials. This mapper adjusts the material presets based on the currently active render pipeline (HDRP, URP, or Standard), and it forces the use of a Shader Variant Collection.
Inheritance
Object
ScriptableObject
MaterialMapper
AutodeskInteractiveStandardMaterialMapper
Inherited Members
MaterialMapper.CheckingOrder
MaterialMapper.DisableAlpha
MaterialMapper.ApplyMaterialToRenderer(MaterialRendererContext)
MaterialMapper.Cleanup(MaterialRendererContext)
MaterialMapper.Map(MaterialMapperContext)
MaterialMapper.CheckTextureOffsetAndScaling(TextureLoadingContext)
MaterialMapper.CheckTextureOffsetAndScalingCoroutine(TextureLoadingContext)
MaterialMapper.BuildMaterial(MaterialMapperContext)
MaterialMapper.RegisteredMapperNamespaces
MaterialMapper.RegisteredMappers
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
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.Mappers
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
[CreateAssetMenu(menuName = "TriLib/Mappers/Material/Autodesk Interactive Standard Material Mapper", fileName = "AutodeskInteractiveStandardMaterialMapper")]
public class AutodeskInteractiveStandardMaterialMapper : StandardMaterialMapper
Properties
CutoutMaterialPreset
Declaration
public override Material CutoutMaterialPreset { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
CutoutMaterialPresetNoMetallicTexture
Declaration
public override Material CutoutMaterialPresetNoMetallicTexture { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
ExtractMetallicAndSmoothness
Declaration
public override bool ExtractMetallicAndSmoothness { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
LoadingMaterial
Declaration
public override Material LoadingMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
MaterialPreset
Declaration
public override Material MaterialPreset { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
MaterialPresetNoMetallicTexture
Declaration
public override Material MaterialPresetNoMetallicTexture { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
TransparentComposeMaterialPreset
Declaration
public override Material TransparentComposeMaterialPreset { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
TransparentComposeMaterialPresetNoMetallicTexture
Declaration
public override Material TransparentComposeMaterialPresetNoMetallicTexture { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
TransparentMaterialPreset
Declaration
public override Material TransparentMaterialPreset { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
TransparentMaterialPresetNoMetallicTexture
Declaration
public override Material TransparentMaterialPresetNoMetallicTexture { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
UseShaderVariantCollection
Declaration
public override bool UseShaderVariantCollection { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
ApplyGlossinessMapTexture(TextureLoadingContext)
Declaration
protected override IEnumerable ApplyGlossinessMapTexture(TextureLoadingContext textureLoadingContext)
Parameters
Type | Name | Description |
---|---|---|
TextureLoadingContext | textureLoadingContext |
Returns
Type | Description |
---|---|
IEnumerable |
Overrides
IsCompatible(MaterialMapperContext)
Declaration
public override bool IsCompatible(MaterialMapperContext materialMapperContext)
Parameters
Type | Name | Description |
---|---|---|
MaterialMapperContext | materialMapperContext |
Returns
Type | Description |
---|---|
bool |