Class MaterialParameter
Material variable object. Allows to modify material parameter value at runtime.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class MaterialParameter : Object
Constructors
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
|