Called when a motor attempts to attach the encoder to itself.
Namespace: Demo3D.Visuals.MotorAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxbool Attach(
MotorAspect motor
)
Parameters
- motor MotorAspect
- The motor that is attempting to attach the encoder.
Return Value
BooleanWhether 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