Plane

Overview

Plane is a class in Aspose.3D FOSS for Java. Inherits from: Primitive.

Parameterized plane.

This class provides 41 methods for working with Plane objects in Java programs. Available methods include: A3DObject, Entity, Plane, Primitive, SceneObject, findProperty, getBoundingBox, getCastShadows, getEntityRendererKey, getExcluded, getLength, getLengthSegments, and 23 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: boundingBox, castShadows, entityRendererKey, excluded, length, lengthSegments, and 9 more.

Properties

NameTypeAccessDescription
upVector3Read/WriteGets the up vector of the plane, default value is (0, 1, 0), this affects the generation of the plane
/
lengthdoubleRead/WriteGets the length of the plane.
widthdoubleRead/WriteGets the width of the plane.
lengthSegmentsintRead/WriteGets the length segments.
widthSegmentsintRead/WriteGets the width segments.
castShadowsbooleanRead/WriteGets whether this geometry can cast shadow.
receiveShadowsbooleanRead/WriteGets whether this geometry can receive shadow.
parentNodeNodeRead/WriteGets or sets the parent node.
parentNodesArrayList<Node>ReadGets the parent nodes.
excludedbooleanRead/WriteGets or sets the excluded.
boundingBoxBoundingBoxReadGets the bounding box.
entityRendererKeyEntityRendererKeyReadGets the entity renderer key.
sceneSceneReadGets the scene.
nameStringRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
Plane()Initializes a new instance of the Plane with default size 1x1.
Plane(length: double, width: double)Initializes a new instance of the Plane.
Plane(name: String, length: double, width: double, lengthSegments: int, widthSegments: int)Initializes a new instance of the Plane.
getUp() → Vector3Gets the up vector of the plane, default value is (0, 1, 0), this affects the generation of the plane
/
setUp(value: Vector3)Sets the up value.
getLength() → doubleGets the length of the plane.
setLength(value: double)Sets the length value.
getWidth() → doubleGets the width of the plane.
setWidth(value: double)Sets the width value.
getLengthSegments() → intGets the length segments.
setLengthSegments(value: int)Sets the length segments value.
getWidthSegments() → intGets the width segments.
setWidthSegments(value: int)Sets the width segments value.
toMesh() → MeshConvert current object to mesh.
getCastShadows() → booleanGets whether this geometry can cast shadow.
setCastShadows(value: boolean)Sets the cast shadows value.
getReceiveShadows() → booleanGets whether this geometry can receive shadow.
setReceiveShadows(value: boolean)Sets the receive shadows value.
Primitive()Initializes a new instance of the Primitive class.
Primitive(name: String)Initializes a new instance of the Primitive class.
Entity(name: String)Calls Entity(name) on this Plane instance.
getParentNode() → NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getParentNodes() → ArrayList<Node>Returns the parent nodes.
getExcluded() → booleanReturns the excluded.
setExcluded(value: boolean)Sets the excluded value.
getBoundingBox() → BoundingBoxReturns the bounding box.
getEntityRendererKey() → EntityRendererKeyReturns the entity renderer key.
SceneObject()Parameterized plane.
SceneObject(name: String)Calls SceneObject(name) on this Plane instance.
getScene() → SceneReturns the scene.
A3DObject()Calls A3DObject on this Plane instance.
A3DObject(name: String)Calls A3DObject(name) on this Plane instance.
getName() → StringReturns the name.
setName(name: String)Sets the name value.
getProperties() → PropertyCollectionInitializes a new instance of the Plane.
findProperty(name: String) → PropertyCalls findProperty(name) on this Plane instance.
getProperty(name: String) → ObjectCalls getProperty(name) on this Plane instance.
setProperty(name: String, value: Object)Initializes a new instance of the Plane.
removeProperty(name: String) → booleanCalls removeProperty(name) on this Plane instance.
removeProperty(property: Property) → booleanCalls removeProperty(property) on this Plane instance.

See Also

 English