Package snap.gfx3d
Class VertexArrayShape
java.lang.Object
snap.props.PropObject
snap.gfx3d.Shape3D
snap.gfx3d.VertexArrayShape
- All Implemented Interfaces:
PropChange.DoChange
This Shape3D subclass just wraps around a VertexArray.
-
Field Summary
Fields inherited from class snap.gfx3d.Shape3D
_smoothSides
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Bounds3D
Override to get from VertexArray.Returns the VertexArray.Returns the VertexArray.void
setDoubleSided
(boolean aValue) Override to forward to VertexArray.Methods inherited from class snap.gfx3d.Shape3D
clearCachedValues, getBounds3D, getBoundsCenter, getColor, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getName, getOpacity, getParent, getStroke, getStrokeColor, isDoubleSided, isVisible, setBounds3D, setColor, setName, setOpacity, setParent, setSmoothSides, setStroke, setStroke, setStrokeColor, setVisible, toStringProps
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, clone, firePropChange, firePropChange, firePropChange, getPropDefault, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, getPropsString, getPropValue, initProps, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropsString, setPropValue, setPropValues, toString
-
Constructor Details
-
VertexArrayShape
public VertexArrayShape()Constructor. -
VertexArrayShape
Constructor.
-
-
Method Details
-
getVertexArray
Returns the VertexArray. -
getTriangleArray
Returns the VertexArray.- Specified by:
getTriangleArray
in classShape3D
-
createBounds3D
Override to get from VertexArray.- Specified by:
createBounds3D
in classShape3D
-
setDoubleSided
public void setDoubleSided(boolean aValue) Override to forward to VertexArray.- Overrides:
setDoubleSided
in classShape3D
-