public final class ShapeGroup extends java.lang.Object implements ITransformable
| Constructor and Description |
|---|
ShapeGroup() |
ShapeGroup(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShape(IShape shape) |
Mat4x4 |
getMatrix() |
java.lang.String |
getName() |
int |
getNumShapes() |
Array<IShape> |
getShapes() |
Transform |
getTransform() |
Transform |
getTransform(Transform dst) |
boolean |
isActive() |
boolean |
removeShape(IShape shape) |
void |
setActive(boolean active) |
Array<IShape> |
setShapes(Array<IShape> shapes) |
void |
setTransform(Transform src) |
void |
transform(Transform t) |
public ShapeGroup()
public ShapeGroup(java.lang.String name)
public java.lang.String getName()
public final int getNumShapes()
public final void addShape(IShape shape)
shape - new shape to add this this IShapepublic final boolean removeShape(IShape shape)
public final Array<IShape> setShapes(Array<IShape> shapes)
shapes - public final Transform getTransform(Transform dst)
getTransform in interface ITransformabledst - destination Transform to store local transformpublic final void setTransform(Transform src)
setTransform in interface ITransformablepublic final Transform getTransform()
Mesh, or null if identitypublic Mat4x4 getMatrix()
public void transform(Transform t)
transform in interface ITransformablepublic final boolean isActive()
public final void setActive(boolean active)
active - set new visibility state of this GeometryDataBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com