Package gaiasky.scene.component
Class Orientation
java.lang.Object
gaiasky.scene.component.Orientation
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
,ICopy
- Direct Known Subclasses:
ParentOrientation
-
Field Summary
Modifier and TypeFieldDescriptionHolds information about the rotation of the body -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.ashley.core.Component
getCopy
(com.badlogic.ashley.core.Engine engine) boolean
boolean
void
initialize
(com.badlogic.gdx.assets.AssetManager manager) boolean
isReady
(com.badlogic.gdx.assets.AssetManager manager) void
setAttitudeLocation
(String source) void
setAttitudeProvider
(String provider) void
setOrientationProvider
(String provider) void
setOrientationSource
(String source) void
setProvider
(String provider) void
setRigidRotation
(RotationComponent rigidRotation) void
setRotation
(RotationComponent rigidRotation) Sets the rotation period in hoursvoid
setUp
(com.badlogic.gdx.assets.AssetManager manager) void
updateRigidRotation
(RotationComponent rigidRotation) void
updateRotation
(RotationComponent rigidRotation)
-
Field Details
-
rigidRotation
Holds information about the rotation of the body -
quaternionOrientation
-
-
Constructor Details
-
Orientation
public Orientation()
-
-
Method Details
-
setRotation
Sets the rotation period in hours -
setRigidRotation
-
updateRotation
-
updateRigidRotation
-
setOrientationProvider
-
setProvider
-
setAttitudeProvider
-
setOrientationSource
-
setAttitudeLocation
-
getCopy
public com.badlogic.ashley.core.Component getCopy(com.badlogic.ashley.core.Engine engine) -
hasRotation
public boolean hasRotation() -
hasQuaternions
public boolean hasQuaternions() -
initialize
public void initialize(com.badlogic.gdx.assets.AssetManager manager) -
setUp
public void setUp(com.badlogic.gdx.assets.AssetManager manager) -
isReady
public boolean isReady(com.badlogic.gdx.assets.AssetManager manager) -
getNonRotatedPos
-