[WIP] VectorCreator.Draw
Vector drawing. WIP: The origin is glitching a bit shortly after launch and during warp.
Instance Properties:
reference: ISpaceObject - Reference for coordinate system (origin at zero if null).origin: Vector - Starting point of the vector (relative to reference).direction: Vector - Direction of the vector (from starting point).position: Vector - Alias toorigin.vector: Vector - Alias todirection.from: Vector - Alias toorigin.to: Vector - End point (origin + direction).color: Color - Color of the arrow.width: double - Width / thickness of the arrow.scale: double - Scale of the vector.
Instance Methods:
show(): void - Show the vector. It is created hidden so that you can subscribe tosystem.updatefirst.hide(): void - Hide the vector.dispose(): void - Dispose the vector. (Cannot be shown again after that.)