Click or drag to resize

IEncoderAttach Method

Called when a motor attempts to attach the encoder to itself.

Namespace: Demo3D.Visuals.Motor
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
bool Attach(
	MotorAspect motor
)

Parameters

motor  MotorAspect
The motor that is attempting to attach the encoder.

Return Value

Boolean
Whether the encoder was attached to the motor.
Remarks
If this function returns true then the Motor property must return the provided motor until Detach is called.
See Also