MotionPromptUpdate Method (MotionProfile, MotorDirection) |
Reschedules motion events.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic bool Update(
MotionProfile motionProfile,
MotorDirection targetDirection
)
Parameters
- motionProfile
- Type: Demo3D.VisualsMotionProfile
The motion characteristics. - targetDirection
- Type: Demo3D.VisualsMotorDirection
The target direction.
Return Value
Type:
BooleanWhether events were scheduled.
Remarks
Schedules events required for the motor to attain the maximum speed in the specified
target direction given the specified motion characteristics.
If this function returns false then events were not scheduled. This could be because the
motion is not solvable or because the target position is already achieved.
See Also