Spin

altspace/utilities/behaviors. Spin

The Spin behavior adds a spinning animation to an object.

Constructor

new Spin(configopt)

Parameters:
Name Type Attributes Description
config Object <optional>
Properties
Name Type Attributes Default Description
speed Number <optional>
0.0001

Rotation speed in radians per millisecond

axis Vector3 <optional>
{0,1,0}

The axis of rotation

Extends

Members

type :string

The string name of this class. This is used for THREE.Object3D#getBehaviorByType.

Overrides:

Methods