Class MaterialInstanceConstant
Material Instances may be used to change the appearance of a material without incurring an expensive recompilation of the material.
Inheritance
System.Object
MaterialInstanceConstant
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class MaterialInstanceConstant : MaterialInstance
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MaterialInstanceConstant DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
ParameterStateId
Unique ID for this material instance's parameter set
Declaration
public FGuid ParameterStateId { get; set; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
K2_GetScalarParameterValue(Name)
Get the scalar (float) parameter value from an MIC
Declaration
public float K2_GetScalarParameterValue(Name ParameterName)
Parameters
Type |
Name |
Description |
Name |
ParameterName |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
K2_GetTextureParameterValue(Name)
Get the MIC texture parameter value
Declaration
public Texture K2_GetTextureParameterValue(Name ParameterName)
Parameters
Type |
Name |
Description |
Name |
ParameterName |
|
Returns
|
Improve this Doc
View Source
K2_GetVectorParameterValue(Name)
Get the MIC vector parameter value
Declaration
public LinearColor K2_GetVectorParameterValue(Name ParameterName)
Parameters
Type |
Name |
Description |
Name |
ParameterName |
|
Returns
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static MaterialInstanceConstant New(UObject obj = null, Name name = default(Name))
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to MaterialInstanceConstant)
Convert from IntPtr to UObject
Declaration
public static implicit operator MaterialInstanceConstant(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns