BoundaryVisibilitySystem
Classes
- BoundaryVisibilitySystem ⇐
MRSystem
Makes the entities invisible if they are outside of their parent panels
Functions
- observe(root, target)
Observe a target MRDivEntity and make the associated object visible only if it is in visible position in a root MRDivEntity
MRSystem
BoundaryVisibilitySystem ⇐ Makes the entities invisible if they are outside of their parent panels
Kind: global class
Extends: MRSystem
- BoundaryVisibilitySystem ⇐
MRSystem
boundaryVisibilitySystem.BoundaryVisibilitySystem
Kind: instance class of BoundaryVisibilitySystem
new exports.BoundaryVisibilitySystem()
BoundaryVisibilitySystem’s default constructor.
boundaryVisibilitySystem.onNewEntity(entity)
Called when a new entity is added to the scene.
Kind: instance method of BoundaryVisibilitySystem
Param | Type | Description |
---|---|---|
entity | MREntity |
the entity being added. |
observe(root, target)
Observe a target MRDivEntity and make the associated object visible only if it is in visible position in a root MRDivEntity
Kind: global function
Param | Type |
---|---|
root | MRDivEntity |
target | MRDivEntity |