Search Results for

    Show / Hide Table of Contents

    Class MaterialParameter

    Material variable object. Allows to modify material parameter value at runtime.

    Inheritance
    System.Object
    Object
    MaterialParameter
    Inherited Members
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public class MaterialParameter : Object

    Constructors

    MaterialParameter()

    Initializes a new instance of the MaterialParameter.

    Declaration
    public MaterialParameter()

    Properties

    IsOverride

    Returns true is parameter is overriding the value.

    Declaration
    [Unmanaged]
    public bool IsOverride { get; set; }
    Property Value
    System.Boolean

    IsPublic

    Returns true is parameter is public visible.

    Declaration
    [Unmanaged]
    public bool IsPublic { get; }
    Property Value
    System.Boolean

    Name

    Gets the parameter name.

    Declaration
    [Unmanaged]
    public string Name { get; }
    Property Value
    System.String

    ParameterID

    Gets the parameter ID (not the parameter instance Id but the original parameter ID).

    Declaration
    [Unmanaged]
    public Guid ParameterID { get; }
    Property Value
    System.Guid

    ParameterType

    Gets the parameter type.

    Declaration
    [Unmanaged]
    public MaterialParameterType ParameterType { get; }
    Property Value
    MaterialParameterType

    Value

    Gets or sets the value of the parameter.

    Declaration
    [Unmanaged]
    public object Value { get; set; }
    Property Value
    System.Object

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat