Most visited

Recently visited

PhysicsShapeBox

public class PhysicsShapeBox
extends Object implements PhysicsShape

java.lang.Object
   ↳ com.viro.core.PhysicsShapeBox


Box physics shape.

Summary

Public constructors

PhysicsShapeBox(float width, float height, float length)

Construct a new Box physics shape.

Public methods

float getHeight()

Get the height of this Box.

float getLength()

Get the length of this Box.

float getWidth()

Get the width of this Box.

Public constructors

PhysicsShapeBox

PhysicsShapeBox (float width, 
                float height, 
                float length)

Construct a new Box physics shape.

Parameters
width float: The width of the Box (X).

height float: The height of the Box (Y).

length float: The length of the Box (Z).

Public methods

getHeight

float getHeight ()

Get the height of this Box.

Returns
float The height.

getLength

float getLength ()

Get the length of this Box.

Returns
float The length.

getWidth

float getWidth ()

Get the width of this Box.

Returns
float The width.

Hooray!