Add a basic implementation for the position as a property, includes a setter.
Get the current position of the object.
Set the new position.
Get a reference to the position value.
class Example : Object3D { mixin Object3D.Implement; this() { super(null); } } auto ex = new Example; assert(ex.position == .position(0, 0)); ex.positionRef.x += 1; assert(ex.position == .position(1, 0)); ex.position = .position(2, 2); assert(ex.position == .position(2, 2));
See Implementation
Add a basic implementation for the position as a property, includes a setter.