Primitive
Vue de l’ensemble
‘Primitive’ est une classe dans Aspose.3D FOSS pour Java. hérite de: ‘Entity’, ‘IMeshConvertible’.
Classes de base pour tous les primitifs.
Cette classe fournit 23 méthodes pour travailler avec des objets primitifs dans les programmes Java. Les méthodologies disponibles comprennent: ‘A3DObject’, ‘Entity’, Primitive', ‘SceneObject’, 'findProperty', ’getBoundingBox', ‚getCastShadows', ''getExcluded', ‘’getName, ‘‘GetParentNode , ''getPartnodes et 11 méthodies supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.3D FOSS pour le package Java . Propriétés : ‘boundbox’, «cast Shadowns`’, “exclusion », ’name’, parentnode’, node’ et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
castShadows | boolean | Read | Gets whether this geometry can cast shadow. |
receiveShadows | boolean | Read | Gets whether this geometry can receive shadow. |
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. |
méthodes
| Signature | Description |
|---|---|
getCastShadows() → boolean | Gets whether this geometry can cast shadow. |
setCastShadows(value: boolean) | The inner radius of the rectangular torus. |
getReceiveShadows() → boolean | Gets whether this geometry can receive shadow. |
setReceiveShadows(value: boolean) | The outer radius of the rectangular torus. |
Primitive(name: String) | Initializes a new instance of the Primitive class. |
toMesh() → Mesh | Convert current object to mesh. |
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. |
Voir aussi
- Aspose.3D - référence API d’entreprise