Class MaterialInstance
Material Instance
Inheritance
System.Object
MaterialInstance
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 MaterialInstance : MaterialInterface
Properties
| Improve this Doc View SourceBasePropertyOverrides
Base Property Overrides
Declaration
public MaterialInstanceBasePropertyOverrides BasePropertyOverrides { get; set; }
Property Value
Type | Description |
---|---|
MaterialInstanceBasePropertyOverrides |
bHasStaticPermutationResource
Declaration
public bool bHasStaticPermutationResource { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bOverrideSubsurfaceProfile
Declaration
public bool bOverrideSubsurfaceProfile { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MaterialInstance DefaultObject { get; }
Property Value
Type | Description |
---|---|
MaterialInstance |
Parent
Parent material.
Declaration
public MaterialInterface Parent { get; }
Property Value
Type | Description |
---|---|
MaterialInterface |
PermutationTextureReferences
Cached texture references from all expressions in the material (including nested functions).
Declaration
public ObjectArrayField<Texture> PermutationTextureReferences { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<Texture> |
Remarks
This is used to link uniform texture expressions which were stored in the DDC with the UTextures that they reference.
PhysMaterial
Physical material to use for this graphics material. Used for sounds, effects etc.
Declaration
public PhysicalMaterial PhysMaterial { get; set; }
Property Value
Type | Description |
---|---|
PhysicalMaterial |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
StaticParameters
Static parameter values that are overridden in this instance.
Declaration
public StaticParameterSet StaticParameters { get; set; }
Property Value
Type | Description |
---|---|
StaticParameterSet |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static MaterialInstance New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
MaterialInstance |
Operators
| Improve this Doc View SourceImplicit(IntPtr to MaterialInstance)
Convert from IntPtr to UObject
Declaration
public static implicit operator MaterialInstance(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
MaterialInstance |