Frustum
Overview
Frustum is a class in Aspose.3D FOSS for Java.
Inherits from: Entity, IOrientable.
The base class of Camera and Light /
This class provides 35 methods for working with Frustum objects in Java programs.
Available methods include: A3DObject, Entity, SceneObject, findProperty, getAspect, getBoundingBox, getDirection, getExcluded, getFarPlane, getLookAt, getName, getNearPlane, and 23 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: aspect, boundingBox, direction, excluded, farPlane, lookAt, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
rotationMode | RotationMode | Read | Gets the frustum’s orientation mode |
| This property only works when the getTarget() is null. | |||
nearPlane | double | Read | Gets the frustum’s near plane distance. |
farPlane | double | Read | Gets the frustum’s far plane distance. |
aspect | double | Read | Gets the aspect ratio of the frustum |
| @return the aspect ratio of the frustum | |||
| / | |||
orthoHeight | double | Read | Gets the height when frustum in orthographic projection. |
up | Vector3 | Read | Gets the up direction of the camera |
| @return the up direction of the camera | |||
| / | |||
lookAt | Vector3 | Read | Gets the the interested position that the camera is looking at. |
direction | Vector3 | Read | Gets the direction that the camera is looking at. |
target | Node | Read | Gets the target that the camera is looking at. |
parentNode | Node | Read | Gets the parent node. |
parentNodes | ArrayList<Node> | Read | Gets the parent nodes. |
excluded | boolean | Read | Gets the excluded. |
boundingBox | BoundingBox | Read | Gets the bounding box. |
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
getRotationMode() → RotationMode | Gets the frustum’s orientation mode |
| This property only works when the getTarget() is null. | |
setRotationMode(value: RotationMode) | Sets the frustum’s orientation mode |
| This property only works when the getTarget() is null. | |
getNearPlane() → double | Gets the frustum’s near plane distance. |
setNearPlane(value: double) | Sets the frustum’s near plane distance. |
getFarPlane() → double | Gets the frustum’s far plane distance. |
setFarPlane(value: double) | Sets the frustum’s far plane distance. |
getAspect() → double | Gets the aspect ratio of the frustum |
| @return the aspect ratio of the frustum | |
| / | |
setAspect(value: double) | Sets the aspect ratio of the frustum |
| @param value New value | |
| / | |
getOrthoHeight() → double | Gets the height when frustum in orthographic projection. |
setOrthoHeight(value: double) | Sets the height when frustum in orthographic projection. |
getUp() → Vector3 | Gets the up direction of the camera |
| @return the up direction of the camera | |
| / | |
setUp(value: Vector3) | Sets the up direction of the camera |
| @param value New value | |
| / | |
getLookAt() → Vector3 | Gets the the interested position that the camera is looking at. |
setLookAt(value: Vector3) | Sets the the interested position that the camera is looking at. |
getDirection() → Vector3 | Gets the direction that the camera is looking at. |
setDirection(value: Vector3) | Sets the direction that the camera is looking at. |
getTarget() → Node | Gets the target that the camera is looking at. |
setTarget(value: Node) | Sets the target that the camera is looking at. |
Entity() | NURBS curve is a curve represented by NURBS(Non-uniform rational basis spline), A NURBS curve is defined by its getOrder(), a set of weighted Geometry.getControlPoints() and a getKnotVectors() The w component in control point is used as control point’s weight, whatever it is a CurveDimension.TWO_DIMENSIONAL or CurveDimension.THREE_DIMENSIONAL |
getParentNode() → Node | Constructor of instance. |
setParentNode(value: Node) | The Boolean operator used in the operation to create the result mesh. |
getParentNodes() → ArrayList<Node> | Protected constructor to allow derived classes to set name. |
getExcluded() → boolean | The Boolean operator used in the operation to create the result mesh. |
setExcluded(value: boolean) | Sets the excluded value. |
getBoundingBox() → BoundingBox | The first operand of the Boolean operator. |
SceneObject() | Boolean operator allows you to apply Boolean operation on two IMeshConvertible instances. |
getScene() → Scene | Constructor of BooleanOperator. |
A3DObject() | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
getName() → String | The segments of the curve. |
setName(name: String) | Constructs a CircleShape profile with specified radius. |
getProperties() → PropertyCollection | Initializes a new instance of Cylinder class. |
findProperty(name: String) → Property | Initializes a new instance of the Bone class. |
getProperty(name: String) → Object | Gets the transform matrix of the node in current pose. |
setProperty(name: String, value: Object) | Gets the width segments. |
removeProperty(name: String) → boolean | Gets flip coordinate system of control points/normal during importing/exporting. |