Material Nodes

EntityMaterialChange

Used to apply the specified material to an entity.

EntityMaterialParams

Used to get the entity's material parameters.

Inputs

PortTypeDescription
GetAnyActivates the node
SlotIntegerMaterial slot
SubMtlIdIntegerSubmaterial ID
ParamFloatStringFloat parameter to be set
ValueFloatFloatSets float parameter value
ParamColorStringColor parameter to be set
ValueColorVec3Color value to be set

Outputs

PortTypeDescription
Value FloatFloatCurrent float value
Value ColorVec3Current color value

MaterialClone

Used to clone an entity's material or reset it back to the original.

Inputs

PortTypeDescription
CloneAnyActivates the node
ResetAnyResets to the original material
SlotIntegerMaterial slot

Outputs

PortTypeDescription
ClonedAnyActivated when material is cloned
ResetAnyActivated when material is reset

MaterialParams

Used to get the specified material's parameters.

Inputs

PortTypeDescription
GetAnyActivates the node
MaterialStringMaterial name
SubMaterial IdIntegerSubmaterial name
ParamFloatStringFloat parameter to be set
ValueFloatFloatValue of the float parameter
ParamColorStringColor parametetr to be set
ValueColorVec3Value of the color parameter
SerializeBooleanSerialize the change

Outputs

PortTypeDescription
Value FloatFloatCurrent float value
Value ColorVec3Current color value

SetObjectMaterial

Used to set an object's (render node) material to the specified position.

Inputs

PortTypeDescription
MaterialStringSet object material
ObjectTypeIntegerObject type
PositionVec3Position to set material at
ActivateAnyActivates the node