C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

World::GetController

Defined in:  C4World.h
Returns the controller having a specific controller index.
Prototype

Controller *GetController(long index) const;

Parameters
index The index of the controller.
Description
The GetController function returns a pointer to the controller having the index specified by the index parameter. If no such controller exists, then the return value is nullptr.
See Also

Controller