Show / Hide Table of Contents

Class KismetMaterialLibrary

Kismet Material Library

Inheritance
System.Object
UObject
BlueprintFunctionLibrary
KismetMaterialLibrary
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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 KismetMaterialLibrary : BlueprintFunctionLibrary

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static KismetMaterialLibrary DefaultObject { get; }
Property Value
Type Description
KismetMaterialLibrary
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

CreateDynamicMaterialInstance(UObject, MaterialInterface, Name)

Creates a Dynamic Material Instance which you can modify during gameplay.

Declaration
public static MaterialInstanceDynamic CreateDynamicMaterialInstance(UObject WorldContextObject, MaterialInterface Parent, Name OptionalName)
Parameters
Type Name Description
UObject WorldContextObject
MaterialInterface Parent
Name OptionalName
Returns
Type Description
MaterialInstanceDynamic
| Improve this Doc View Source

GetScalarParameterValue(UObject, MaterialParameterCollection, Name)

Gets a scalar parameter value from the material collection instance. Logs if ParameterName is invalid.

Declaration
public static float GetScalarParameterValue(UObject WorldContextObject, MaterialParameterCollection Collection, Name ParameterName)
Parameters
Type Name Description
UObject WorldContextObject
MaterialParameterCollection Collection
Name ParameterName
Returns
Type Description
System.Single
| Improve this Doc View Source

GetVectorParameterValue(UObject, MaterialParameterCollection, Name)

Gets a vector parameter value from the material collection instance. Logs if ParameterName is invalid.

Declaration
public static LinearColor GetVectorParameterValue(UObject WorldContextObject, MaterialParameterCollection Collection, Name ParameterName)
Parameters
Type Name Description
UObject WorldContextObject
MaterialParameterCollection Collection
Name ParameterName
Returns
Type Description
LinearColor
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static KismetMaterialLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
KismetMaterialLibrary
| Improve this Doc View Source

SetScalarParameterValue(UObject, MaterialParameterCollection, Name, Single)

Sets a scalar parameter value on the material collection instance. Logs if ParameterName is invalid.

Declaration
public static void SetScalarParameterValue(UObject WorldContextObject, MaterialParameterCollection Collection, Name ParameterName, float ParameterValue)
Parameters
Type Name Description
UObject WorldContextObject
MaterialParameterCollection Collection
Name ParameterName
System.Single ParameterValue
| Improve this Doc View Source

SetVectorParameterValue(UObject, MaterialParameterCollection, Name, LinearColor)

Sets a vector parameter value on the material collection instance. Logs if ParameterName is invalid.

Declaration
public static void SetVectorParameterValue(UObject WorldContextObject, MaterialParameterCollection Collection, Name ParameterName, LinearColor ParameterValue)
Parameters
Type Name Description
UObject WorldContextObject
MaterialParameterCollection Collection
Name ParameterName
LinearColor ParameterValue

Operators

| Improve this Doc View Source

Implicit(IntPtr to KismetMaterialLibrary)

Convert from IntPtr to UObject

Declaration
public static implicit operator KismetMaterialLibrary(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
KismetMaterialLibrary
  • Improve this Doc
  • View Source
Back to top Generated by DocFX