nanos world API Reference Unofficial documentation
Function Shared Fast

Paintable:GetMaterialVectorParameter

Gets a Vector parameter from this Actor's material

Syntax

Lua
my_paintable:GetMaterialVectorParameter(parameter_name, index = -1, attachable_id = "")

Parameters

Name Type Default Description
parameter_name string The name of the material parameter
index optional integer -1 The material index to get
attachable_id optional string "" The attachable ID (set with <code>AddSkeletalMeshAttached</code> or <code>AddStaticMeshAttached</code>) to get the material parameter. Pass empty to get from main mesh only

Returns

  • Vector vector or nil if parameter was not found