Class MaterialFunction
A Material Function is a collection of material expressions that can be reused in different materials
Inheritance
System.Object
MaterialFunction
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)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class MaterialFunction : MaterialFunctionInterface
Properties
| Improve this Doc View SourcebExposeToLibrary
Declaration
public bool bExposeToLibrary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bPrefixParameterNames
Declaration
public bool bPrefixParameterNames { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bReentrantFlag
Declaration
public bool bReentrantFlag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MaterialFunction DefaultObject { get; }
Property Value
Type | Description |
---|---|
MaterialFunction |
FunctionEditorComments
Array of comments associated with this material; viewed in the material editor.
Declaration
public ObjectArrayField<MaterialExpressionComment> FunctionEditorComments { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<MaterialExpressionComment> |
FunctionExpressions
Array of material expressions, excluding Comments. Used by the material editor.
Declaration
public ObjectArrayField<MaterialExpression> FunctionExpressions { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<MaterialExpression> |
ParentFunction
Used in the material editor, points to the function asset being edited, which this function is just a preview for.
Declaration
public MaterialFunction ParentFunction { get; set; }
Property Value
Type | Description |
---|---|
MaterialFunction |
PreviewMaterial
Preview Material
Declaration
public Material PreviewMaterial { get; set; }
Property Value
Type | Description |
---|---|
Material |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static MaterialFunction New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
MaterialFunction |
Operators
| Improve this Doc View SourceImplicit(IntPtr to MaterialFunction)
Convert from IntPtr to UObject
Declaration
public static implicit operator MaterialFunction(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
MaterialFunction |