Package org.web3d.x3d.sai.layering
Interface ProportionalViewport
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the height float value.floatgetWidth()Return the width float value.floatgetX()Return the x float value.floatgetY()Return the y float value.voidsetHeight(float val) Set the height field.voidsetWidth(float val) Set the width field.voidsetX(float val) Set the x field.voidsetY(float val) Set the y field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getX
float getX()Return the x float value.- Returns:
- The x float value.
-
setX
void setX(float val) Set the x field.- Parameters:
val- The float to set.
-
getY
float getY()Return the y float value.- Returns:
- The y float value.
-
setY
void setY(float val) Set the y field.- Parameters:
val- The float to set.
-
getWidth
float getWidth()Return the width float value.- Returns:
- The width float value.
-
setWidth
void setWidth(float val) Set the width field.- Parameters:
val- The float to set.
-
getHeight
float getHeight()Return the height float value.- Returns:
- The height float value.
-
setHeight
void setHeight(float val) Set the height field.- Parameters:
val- The float to set.
-