Click or drag to resize

MotionPromptUpdate Method (MotionProfile, MotorDirection)

Reschedules motion events.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public bool Update(
	MotionProfile motionProfile,
	MotorDirection targetDirection
)

Parameters

motionProfile
Type: Demo3D.VisualsMotionProfile
The motion characteristics.
targetDirection
Type: Demo3D.VisualsMotorDirection
The target direction.

Return Value

Type: Boolean
Whether 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