| Package | com.asterisq.constellation.behaviors |
| Class | public class CustomAccelerationBehavior |
| Inheritance | CustomAccelerationBehavior EdgeWeightStatsBehavior Behavior flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
| CustomAccelerationBehavior | |||
|
affectsAcceleration():Boolean
Indicates whether this class affects node renderers' acceleration.
| CustomAccelerationBehavior | ||
![]() |
affectsNodeRenderer(nr:INodeRenderer):Boolean
Determines whether this behavior affects the given node renderer.
| Behavior | |
![]() |
affectsPosition():Boolean
Indicates whether this class affects node renderers' position.
| Behavior | |
![]() |
affectsVelocity():Boolean
Indicates whether this class affects node renderers' velocity.
| Behavior | |
![]() |
[static]
Creates an IBehavior instance and initializes it with the given XML data.
| Behavior | |
![]() |
stepEnd():void
Method called at the end of a step.
| Behavior | |
![]() |
stepStart():void
Method called at the beginning of a step.
| EdgeWeightStatsBehavior | |
|
Adds the custom acceleration force to the node renderer.
| CustomAccelerationBehavior | ||
![]() |
Modifies the given node renderer's position.
| Behavior | |
![]() |
Modifies the given node renderer's velocity.
| Behavior | |
| CustomAccelerationBehavior | () | constructor |
public function CustomAccelerationBehavior()
| affectsAcceleration | () | method |
public override function affectsAcceleration():BooleanIndicates whether this class affects node renderers' acceleration. This function must return true if this behavior affects acceleration.
ReturnsBoolean |
| updateAcceleration | () | method |
public override function updateAcceleration(nodeRenderer:INodeRenderer):INodeRendererAdds the custom acceleration force to the node renderer.
ParametersnodeRenderer:INodeRenderer |
INodeRenderer |