| java.lang.Object | ||
| ↳ | casmi.graphics.element.Element | |
| ↳ | casmi.graphics.element.Box | |
Box class. Wrap JOGL and make it easy to use.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Box whose shape is square using size.
| |||||||||||
Creates a new Box using width, height and depth.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the depth of this Box.
| |||||||||||
Gets the height of this Box.
| |||||||||||
Gets the width of this Box.
| |||||||||||
Sets the color of a corner for gradation.
| |||||||||||
Sets the color of a corner for gradation.
| |||||||||||
Sets the depth of this Box.
| |||||||||||
Sets the gradation mode and colors.
| |||||||||||
Sets the gradation mode and colors.
| |||||||||||
Sets the height of this Box.
| |||||||||||
Sets the size of this Box whose shape is square.
| |||||||||||
Sets the texture of this Box.
| |||||||||||
Sets the width of this Box.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.object.Renderable
| |||||||||||
From interface
casmi.graphics.object.Resettable
| |||||||||||
Creates a new Box whose shape is square using size.
| size | The size of the Box. |
|---|
Creates a new Box using width, height and depth.
| width | The width of the box. |
|---|---|
| height | The height of the box. |
| depth | The depth of the box. |
Gets the depth of this Box.
Gets the height of this Box.
Gets the width of this Box.
Sets the color of a corner for gradation.
| index | The index of a corner. |
|---|---|
| color | The color of a corner. |
Sets the color of a corner for gradation.
| index | The index of a corner. |
|---|---|
| colorSet | The colorSet of a corner. |
Sets the depth of this Box.
| depth | The depth of the Box. |
|---|
Sets the gradation mode and colors.
| mode | The mode of gradation. |
|---|---|
| colorSet1 | The colorSet for gradation. |
| colorSet2 | The colorSet for gradation. |
Sets the gradation mode and colors.
| mode | The mode of gradation. |
|---|---|
| color1 | The color for gradation. |
| color2 | The color for gradation. |
Sets the height of this Box.
| height | The height of the Box. |
|---|
Sets the size of this Box whose shape is square.
| size | The size of the Box whose shape is square . |
|---|
Sets the texture of this Box.
| index | The index of the surface of the Box. |
|---|---|
| texture | The texture of the Box. |
Sets the width of this Box.
| width | The width of the Box. |
|---|