Table of Contents

Component Engine

(NOTE) A component is an atomic piece of functionality that is composed into a Cog to form game objects.

Methods Properties Base Classes Derived Classes
Constructor GameSession Object actionspace
DebugDraw LevelSettings animationgraph
Owner archetyped
Space area
audiosettings
bone
camera
cameraviewport
collider
ComponentProxy
contentconfig
creationtool
customcollisioneventtracker
debugsettings
defaultgamesetup
developerconfig
dynamicmotor
editorcameracontroller
editorconfig
editorflags
editorsettings
frameratesettings
gizmo
gizmocreator
gizmodrag
gizmospace
GjkDebug
graphical
graphicsspace
griddraw
heightmap
HeightMapAabbChecker
HeightMapDebugDrawer
heightmaptool
hierarchy
hierarchyspline
ignorespaceeffects
joint
jointconfigoverride
jointdebugdrawconfig
jointlimit
jointmotor
jointspring
LauncherConfig
LauncherLegacySettings
linkid
mainconfig
manipulatortool
massoverride
MeshDebug
mousecapture
named
netobject
objectconnectingtool
objectlink
objectlinkanchor
objecttransformgizmo
objecttransformtool
orientation
orientationbasisgizmo
particleanimator
particleemitter
physicscar
physicscarwheel
physicscarwheelbasisgizmo
physicseffect
physicsspace
projectdescription
projectsettings
randomcontext
reactive
reactivespace
recentprojects
region
revolutebasisgizmo
rigidbody
rotategizmo
rotationbasisgizmo
scalegizmo
selectionicon
selecttool
sharedcontent
simpleanimation
simplegizmobase
simplesocket
simplesound
skeleton
soundemitter
soundlistener
soundspace
spaceobjects
SpringSystem
SpringTools
texteditorconfig
tileeditor2d
tilemap
TimeOfImpactDebug
timespace
transform
translategizmo
uilayout
uiwidgetcomponenthierarchy
userconfig
webrequester
windowlaunchsettings
nadacomponent
nadapluginconfig

Properties


GameSession : gamesession

read-only

Get the GameSession that owns us and our space.

var GameSession : GameSession

LevelSettings : cog

read-only

Get the object named 'LevelSettings', a special object where we can put components for our level.

var LevelSettings : Cog

Owner : cog

read-only

Get the Cog this Component is owned by (not the parent of this composition).

var Owner : Cog

Space : space

read-only

The Space where the object is located.

var Space : Space

Methods


Component : Void

constructor

Constructor / Destructor. |Name|Type|Description| |---|---|---|

function Component()

DebugDraw : Void

Base debug draw for a component. Special for the each type of component. |Name|Type|Description| |---|---|---|

function DebugDraw()