C4 Engine
C4 Engine API Documentation

Node::GetProperty

Defined in:  C4Node.h
Returns the property of a given type that is attached to a node.
Prototype

Property *GetProperty(PropertyType type) const;

Parameters
type The property type.
Description
The GetProperty function returns the property attached to a node having the type specified by the type parameter. If no such property exists, then the return value is nullptr.
See Also

Node::GetFirstProperty

Node::AddProperty

Property