Quaternion
ecs.Quaternion
Description
The Quaternion component defines the rotation of an entity.
Functions
See component schema.
Schema
Property | Type | Description |
---|---|---|
x | Number | x coordinate |
y | Number | y coordinate |
z | Number | z coordinate |
w | Number | w coordinate |