C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Property::SetPropertyFlags

Defined in:  C4Properties.h
Returns the property flags.
Prototype

void SetPropertyFlags(unsigned_int32 flags);

Parameters
flags The new property flags.
Description
The SetPropertyFlags function sets the property flags to the value specified by the flags parameter, which can be zero or a combination (through logical OR) the following values.
kPropertyNonpersistent The property is skipped during world serialization.
kPropertyDisabled The property is disabled (but is still returned by Node::GetProperty).
If the kPropertyNonpersistent flag is set, then the property will not be written when the world it belongs to is saved, and it will no longer exist when the world is reloaded.
See Also

Property::GetPropertyFlags