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