Package gaiasky.scene.component
Class AttitudeComponent
java.lang.Object
gaiasky.scene.component.AttitudeComponent
Component that contains an attitude provider that spits out a quaternion for each time.
-
Field Summary
Modifier and TypeFieldDescriptionSource file(s) for the orientation server.Quaternion orientation provider. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
initialize
(com.badlogic.gdx.assets.AssetManager manager) boolean
isReady
(com.badlogic.gdx.assets.AssetManager manager) void
setOrientationProvider
(String provider) void
setProvider
(String provider) void
setUp
(com.badlogic.gdx.assets.AssetManager manager) void
updateOrientation
(Instant instant)
-
Field Details
-
provider
Quaternion orientation provider. -
orientationSource
Source file(s) for the orientation server. Previously called attitudeSource. -
orientationServer
-
nonRotatedPos
-
-
Constructor Details
-
AttitudeComponent
public AttitudeComponent()
-
-
Method Details
-
setOrientationProvider
-
setProvider
-
copy
-
initialize
public void initialize(com.badlogic.gdx.assets.AssetManager manager) -
setUp
public void setUp(com.badlogic.gdx.assets.AssetManager manager) -
updateOrientation
-
getCurrentQuaternion
-
isReady
public boolean isReady(com.badlogic.gdx.assets.AssetManager manager)
-