C4 Engine
C4 Engine API Documentation

Node::SetPropertyObject

Defined in:  C4Node.h
Attaches a property object to a node.
Prototype

void SetPropertyObject(PropertyObject *object);

Parameters
object The property object to attach.
Description
The SetPropertyObject function attaches the property object specified by the object parameter to a node. If object is nullptr, then the node does not have a property object after this function is called. Otherwise, the reference count of the property object is incremented, and the new property is attached to the node. The reference count of any property object previously attached to the node is decremented, and the old property object is deleted if its reference count reaches zero.
See Also

Node::SetPropertyObject

Node::GetSharedProperty

PropertyObject