RectangularTorus Class
Parameterized rectangular torus.
Inheritance Hierarchy

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

The RectangularTorus type exposes the following members.

Constructors
  NameDescription
Public methodRectangularTorus
Constructor of RectangularTorus
Public methodRectangularTorus(String)
Constructor of RectangularTorus
Properties
  NameDescription
Public propertyAngleStart
The start angle of the arc, measured in radian. Default value is 0
Public propertyArc
The total angle of the arc, measured in radian. Default value is PI
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
The height of the rectangular torus. Default value is 20
Public propertyInnerRadius
The inner radius of the rectangular torus Default value is 17
Public propertyName
Gets or sets the name.
(Inherited from A3DObject.)
Public propertyOuterRadius
The outer radius of the rectangular torus Default value is 20
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 propertyRadialSegments
The radial segments, default value is 10
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.)
Methods
  NameDescription
Protected methodCreateEmptyMesh
Create an empty mesh object with inherited properties.
(Inherited from Primitive.)
Public methodEquals
Check if two rectangular torus 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 this primitive 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