Quat.w

Returns the W value of a quaternion.

Kind: Member

Environments: Game, Terrain

Game

Open the full Game reference

Game Get

Returns the W value of a quaternion.

Returns:

Type Description
number The W value.

Game Set

Sets the W value of a quaternion.

Parameters:

Name Type Description
w number The W value.

Terrain

Open the full Terrain reference

Terrain Get

Returns the W value of a quaternion.

Returns:

Type Description
number The W value.

Terrain Set

Sets the W value of a quaternion.

Parameters:

Name Type Description
w number The W value.