public class Skybox extends SceneObject implements IRenderable
Constructor and Description |
---|
Skybox(java.lang.String textureName,
Vector3 min,
Vector3 max) |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(SceneNode node)
Attaches this object to a SceneNode
|
SceneNode |
detach()
Detaches this node from its parent
|
static void |
enableSkyboxes(Context context) |
void |
render(float[] vpMatrix)
Renders this object the matrix containing projection and view will be passed
|
getAbsolutePos, getModelMatrix, getParent, getRelativePos, onTransformed
public void render(float[] vpMatrix)
IRenderable
render
in interface IRenderable
public static void enableSkyboxes(Context context)
public void attachTo(SceneNode node)
SceneObject
attachTo
in class SceneObject
node
- The node onto which this SceneObject will be attachedpublic SceneNode detach()
SceneObject
detach
in class SceneObject