Dish

Overview

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

Parameterized dish.

This class provides 38 methods for working with Dish objects in Java programs. Available methods include: A3DObject, Dish, Entity, Primitive, SceneObject, findProperty, getBoundingBox, getCastShadows, getEntityRendererKey, getExcluded, getHeight, getHeightSegments, and 21 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, height, heightSegments, and 8 more.

Properties

NameTypeAccessDescription
heightdoubleRead/WriteHeight of the dish.
radiusdoubleRead/WriteRadius of the dish.
widthSegmentsintRead/WriteGets the width segments.
heightSegmentsintRead/WriteGets the height 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
getHeight() → doubleHeight of the dish.
setHeight(value: double)Sets the height value.
getRadius() → doubleRadius of the dish.
setRadius(value: double)Sets the radius value.
getWidthSegments() → intGets the width segments.
setWidthSegments(value: int)Sets the width segments value.
getHeightSegments() → intGets the height segments.
setHeightSegments(value: int)Sets the height segments value.
Dish()Create a new dish instance with default radius(10) and default height(5).
Dish(name: String, radius: double, height: double, widthSegments: int, heightSegments: int)Create a new dish instance with specified radius and height.
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 Dish instance.
getParentNode() → NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getParentNodes() → ArrayList<Node>Radius of the dish.
getExcluded() → booleanReturns the excluded.
setExcluded(value: boolean)Sets the excluded value.
getBoundingBox() → BoundingBoxReturns the bounding box.
getEntityRendererKey() → EntityRendererKeyReturns the entity renderer key.
SceneObject()Parameterized dish.
SceneObject(name: String)Calls SceneObject(name) on this Dish instance.
getScene() → SceneReturns the scene.
A3DObject()Calls A3DObject on this Dish instance.
A3DObject(name: String)Calls A3DObject(name) on this Dish instance.
getName() → StringHeight of the dish.
setName(name: String)Sets the name value.
getProperties() → PropertyCollectionReturns the properties.
findProperty(name: String) → PropertyCalls findProperty(name) on this Dish instance.
getProperty(name: String) → ObjectCalls getProperty(name) on this Dish instance.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String) → booleanCalls removeProperty(name) on this Dish instance.
removeProperty(property: Property) → booleanCalls removeProperty(property) on this Dish instance.

See Also

 English