Class UpAxisTransformer
java.lang.Object
com.gaia3d.process.preprocess.sub.UpAxisTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrotateDegreeX(GaiaScene scene, double radian) Rotate the scene around the X-axis to transform it to Z-Up orientation.static voidrotateXAxis(GaiaScene scene, double radian) Rotate the scene around the X-axis to transform it to Z-Up orientation.static voidtransformToYUp(GaiaScene gaiaScene) static voidtransformToZUp(GaiaScene gaiaScene)
-
Constructor Details
-
UpAxisTransformer
public UpAxisTransformer()
-
-
Method Details
-
rotateDegreeX
Rotate the scene around the X-axis to transform it to Z-Up orientation.- Parameters:
scene- the GaiaSceneradian- angle in radians
-
rotateXAxis
Rotate the scene around the X-axis to transform it to Z-Up orientation.- Parameters:
scene- the GaiaSceneradian- angle in radians
-
transformToZUp
-
transformToYUp
-