Skip to content
On this page

AxesHelper

An axis object to visualize the 3 axes in a simple way.

The X axis is red. The Y axis is green. The Z axis is blue.

Example

Code

template
<AxesHelper :size="3" />

Props

Prop nameDescriptionTypeDefault
position A Vector3Like representing the object's local position.Vector3Like[0, 0, 0]
rotation A Vector3Like representing local rotation (see Euler angles), in radians.Vector3Like[0, 0, 0]
size Size of the lines representing the axes.number1
scale A Vector3Like representing the object's local scale.Vector3Like[1, 1, 1]

Slots

NameDescriptionBindings
default

Expose

three


Released under the MIT License.