Torus Class
Parameterized torus.
Inheritance Hierarchy

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

The Torus type exposes the following members.

Constructors
  NameDescription
Public methodTorus
Initializes a new instance of the Torus class.
Public methodTorus(Double, Double)
Initializes a new instance of the Torus class.
Public methodTorus(Double, Double, Double)
Initializes a new instance of the Torus class.
Public methodTorus(String, Double, Double, Int32, Int32, Double)
Initializes a new instance of the Torus class.
Properties
  NameDescription
Public propertyArc
Gets or sets the arc.
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 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 propertyRadialSegments
Gets or sets the radial segments.
Public propertyRadius
Gets or sets the radius of the torus.
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 propertyTube
Gets or sets the radius of the tube.
Public propertyTubularSegments
Gets or sets the tubular segments.
Methods
  NameDescription
Protected methodCreateEmptyMesh
Create an empty mesh object with inherited properties.
(Inherited from Primitive.)
Public methodEquals
Check if two toruses 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