C4 Engine
C4 Engine API Documentation

Node::GetSharedProperty

Defined in:  C4Node.h
Returns the shared property of a given type that is stored in a node's property object.
Prototype

Property *GetSharedProperty(PropertyType type) const;

Parameters
type The property type.
Description
The GetSharedProperty function returns the property stored in a node's property object having the type specified by the type parameter. If no such property exists or there is no property object attached to the node, then the return value is nullptr.
See Also

Node::GetPropertyObject

Node::SetPropertyObject

PropertyObject