Pyramid Class
Parameterized pyramid.
Inheritance Hierarchy

Namespace: Aspose.ThreeD.Entities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntax
public class Pyramid : Primitive

The Pyramid type exposes the following members.

Constructors
  NameDescription
Public methodPyramid
Construct a new pyramid instance with default bottom area(10, 10) and default height(5)
Public methodPyramid(Double, Double, Double)
Construct a new pyramid instance with specified bottom area
Public methodPyramid(Double, Double, Double, Double, Double)
Construct a new pyramid instance with specified bottom area and top area and height.
Public methodPyramid(String, Double, Double, Double, Double, Double)
Construct a new pyramid instance with specified bottom area and top area and height.
Properties
  NameDescription
Public propertyBottomArea
Area of the bottom cap
Public propertyBottomOffset
Offset for bottom vertices
Public propertyCastShadows
Gets or sets wheather this geometry can cast shadow
(Inherited from Primitive.)
Public propertyExcluded
Gets or sets wheather to exclude this entity during exporting.
(Inherited from Entity.)
Public propertyHeight
Height of the pyramid
Public propertyName
Gets or sets the name.
(Inherited from A3DObject.)
Public propertyParentNode
Gets or sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
(Inherited from Entity.)
Public propertyParentNodes
Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing
(Inherited from Entity.)
Public propertyProperties
Gets the collection of all properties.
(Inherited from A3DObject.)
Public propertyReceiveShadows
Gets or sets wheather this geometry can receive shadow.
(Inherited from Primitive.)
Public propertyScene
Gets the scene that this object belongs to
(Inherited from SceneObject.)
Public propertyTopArea
Area of the top cap
Methods
  NameDescription
Protected methodCreateEmptyMesh
Create an empty mesh object with inherited properties.
(Inherited from Primitive.)
Public methodEquals
Check if two pyramids equal
(Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodFindProperty
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
(Inherited from A3DObject.)
Public methodGetBoundingBox
Gets the bounding box of current entity in its object space coordinate system.
(Inherited from Entity.)
Public methodGetEntityRendererKey
Gets the key of the entity renderer registered in the renderer
(Inherited from Entity.)
Public methodGetHashCode
Gets the hash code of current primitive instance
(Overrides ObjectGetHashCode.)
Public methodGetProperty
Get the value of specified property
(Inherited from A3DObject.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveProperty(String)
Remove the specified property identified by name
(Inherited from A3DObject.)
Public methodRemoveProperty(Property)
Removes a dynamic property.
(Inherited from A3DObject.)
Public methodSetProperty
Sets the value of specified property
(Inherited from A3DObject.)
Public methodToMesh
Convert current object to mesh
(Overrides PrimitiveToMesh.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Protected fieldname
The name of the current object.
(Inherited from A3DObject.)
Protected fieldproperties
The properties of the current object.
(Inherited from A3DObject.)
See Also