-
Notifications
You must be signed in to change notification settings - Fork 0
Node Class
Paulo Rafael edited this page Jan 21, 2024
·
8 revisions
Node class is a class made for storing NodeDefinition data adapted for Lua,
this page shows accessable keys and methods in this class.
-
TypeId: The type of this node. -
Flags: The set of flags of special settings. -
WireCollectionorWires: ACollectionOfWirescontaining wire collection data.
Set a property's value of various property types. Can be mostly used by experts if they plan into actually do any new stuff.
- Float property:
void SetPropertyValue(int id, float value) - Integer property:
void SetPropertyValue(int id, int value) - Vector3 property:
void SetPropertyValue(int id, float x, float y, float z) - Vector4 property:
void SetPropertyValue(int id, float x, float y, float z, float w) - Text file property:
void SetPropertyValue(int id, short index, short value) - Actor property:
void SetPropertyValue(int id, Actor actor)
- Change color:
SetColor(byte r, byte g, byte b, [ byte a = 255)