Package org.web3d.x3d.sai.layering
Interface ProportionalViewport
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the height float value.float
getWidth()
Return the width float value.float
getX()
Return the x float value.float
getY()
Return the y float value.void
setHeight
(float val) Set the height field.void
setWidth
(float val) Set the width field.void
setX
(float val) Set the x field.void
setY
(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.
-