Drag[en]gine Script Module DragonScript
1.23
|
Collects visited elements into array. More...
Public Member Functions | |
void | clear () |
Clear elements. More... | |
void | forEach (Block ablock) |
Visit collected elements with a block. More... | |
Element | getAt (int index) |
Element at index. More... | |
int | getCount () |
Number of elements. More... | |
CollectElementsVisitor | new () |
Creates visitor. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementVisitor | |
void | visitAnimatedElement (AnimatedElement element) |
Visit animated element. More... | |
void | visitAttachableBaseBillboard (AttachableBaseBillboard baseBillboard) |
Visit attachable base billboard. More... | |
void | visitAttachableBaseForceField (AttachableBaseForceField forceField) |
Visit attachable base force field. More... | |
void | visitAttachableBaseLight (AttachableBaseLight light) |
Visit attachable base light. More... | |
void | visitAttachableBaseParticleEmitter (AttachableBaseParticleEmitter particleEmitter) |
Visit attachable base particle emitter. More... | |
void | visitAttachableBaseSpeaker (AttachableBaseSpeaker speaker) |
Visit attachable base speaker. More... | |
void | visitAttachSlot (AttachSlot attachSlot) |
Visit attach slot. More... | |
void | visitBaseActor (BaseActor actor) |
Visit base actor. More... | |
void | visitBaseBillboard (BaseBillboard element) |
Visit base billboard element. More... | |
void | visitBaseForceField (BaseForceField forceField) |
Visit base force field. More... | |
void | visitBaseLight (BaseLight light) |
Visit base light. More... | |
void | visitBaseParticleEmitter (BaseParticleEmitter particleEmitter) |
Visit base particle emitter. More... | |
void | visitBaseSky (BaseSky sky) |
Visit base sky. More... | |
void | visitBaseSpeaker (BaseSpeaker speaker) |
Visit base speaker. More... | |
void | visitBaseVRActor (BaseVRActor actor) |
Visit base VR actor. More... | |
void | visitBehaviorElement (BehaviorElement element) |
Visit behavior element. More... | |
void | visitElement (Element element) |
Visit element. More... | |
void | visitEnvironmentMap (EnvironmentMap environmentMap) |
Visit environment map. More... | |
void | visitGhostElement (GhostElement element) |
Visit ghost element. More... | |
void | visitHiddenElement (HiddenElement element) |
Visit hidden element. More... | |
void | visitInfoConvoCoordSystem (InfoConvoCoordSystem info) |
Visit info conversation coordinate system. More... | |
void | visitPhysicsElement (PhysicsElement element) |
Visit physics element. More... | |
void | visitSimpleElement (SimpleElement element) |
Visit simple element. More... | |
void | visitSimpleElementOnRail (SimpleElementOnRail element) |
Visit simple element on rail. More... | |
void | visitTriggerConversation (TriggerConversation trigger) |
Visit conversation trigger. More... | |
void | visitTriggerEvaluate (TriggerEvaluate trigger) |
Visit base evaluate trigger. More... | |
void | visitTriggerShout (TriggerShout trigger) |
Visit shout trigger. More... | |
void | visitTriggerTimer (TriggerTimer trigger) |
Visit base timer trigger. More... | |
void | visitTriggerToogle (TriggerToggle trigger) |
Visit base toggle trigger. More... | |
void | visitTriggerTouch (TriggerTouch trigger) |
Visit base touch trigger. More... | |
void | visitTwoStateAnimatedElement (TwoStateAnimatedElement element) |
Visit two state animated element. More... | |
Collects visited elements into array.
Elements visited multiple times are only added once to the list.
void Dragengine.Scenery.Visitors.CollectElementsVisitor.clear | ( | ) |
Clear elements.
void Dragengine.Scenery.Visitors.CollectElementsVisitor.forEach | ( | Block | ablock | ) |
Visit collected elements with a block.
int Dragengine.Scenery.Visitors.CollectElementsVisitor.getCount | ( | ) |
Number of elements.
CollectElementsVisitor Dragengine.Scenery.Visitors.CollectElementsVisitor.new | ( | ) |
Creates visitor.
Reimplemented from Dragengine.Scenery.ElementVisitor.