Table of Contents

orxOBJECT structure

Summary

[ObjectTemplate]
Graphic            = GraphicTemplate
AnimationSet       = AnimationSetTemplate
AnimationFrequency = <float>
Body               = BodyTemplate
Group              = <string>
Clock              = ClockTemplate
LifeTime           = anim | child | fx | sound | spawn | track | <float>
Age                = <float>
Color              = <vector>
RGB                = <vector>
HSL                = <vector>
HSV                = <vector>
Alpha              = <float>
AutoScroll         = x | y | both
Flip               = x | y | both
DepthScale         = <bool>
Position           = ((center (truncate | round)) (left | right) (top | bottom) | <vector>
SphericalPosition  = <vector>
Speed              = <vector>
Pivot              = (center (truncate | round)) (left | right) (top | bottom) | <vector>
Size               = <vector>
UseRelativeSpeed   = <bool>
Rotation           = <float>
AngularVelocity    = <float>
Scale              = <vector>
Smoothing          = <bool>
BlendMode          = alpha | multiply | add | premul | none
Repeat             = <vector>
FXList             = FXTemplate1 # ... # FXTemplateN
FXRecursiveList    = <bool>
FXFrequency        = <float>
SoundList          = SoundTemplate1 # ... # SoundTemplateN
ShaderList         = ShaderTemplate1 # ... # ShaderTemplateN
TrackList          = TimeLineTrackTemplate1 # ... # TimeLineTrackTemplateN
Spawner            = SpawnerTemplate
ChildList          = ObjectTemplate1 # ... # ObjectTemplateN
ChildJointList     = JointTemplate1 # ... # JointTemplateN
ParentCamera       = CameraTemplate
UseParentSpace     = true | false | both | position | scale | none
IgnoreFromParent   = none | all | rotation | scale<.xyz>
OnPrepare          = <command>
OnCreate           = <command>
OnDelete           = <command>

Details

Here's a list of the available properties for an orxOBJECT structure:

Latest config settings for the Development Version

We endeavor to keep the config properties on this page up to date as often as possible. For up to the minute config information for the latest version of Orx, check the most recent published at:

CreationTemplate.ini and

SettingsTemplate.ini

Additionally these files can be found under your orx source tree in the orx/code/bin folder.

1)
this won't affect objects created through another object's ChildList
2)
mainly used for easiness of placing UI objects relative to camera that will remain resolution independent