LinearExtrusion Class
Linear extrusion takes a 2D shape as input and extends the shape in the 3rd dimension.
Inheritance Hierarchy
SystemObject
  Aspose.ThreeDA3DObject
    Aspose.ThreeDSceneObject
      Aspose.ThreeDEntity
        Aspose.ThreeD.EntitiesLinearExtrusion

Namespace: Aspose.ThreeD.Entities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntax
public class LinearExtrusion : Entity, 
	IMeshConvertible

The LinearExtrusion type exposes the following members.

Constructors
  NameDescription
Public methodLinearExtrusion
Constructor of instance LinearExtrusion.
Public methodLinearExtrusion(Profile, Double)
Constructor of instance LinearExtrusion.
Properties
  NameDescription
Public propertyCenter
If this value is false, the linear extrusion Z range is from 0 to height, otherwise the range is from -height/2 to height/2.
Public propertyDirection
The direction of extrusion, default value is (0, 0, 1)
Public propertyExcluded
Gets or sets wheather to exclude this entity during exporting.
(Inherited from Entity.)
Public propertyHeight
The height of the extruded geometry, default value is 1.0
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 propertyScene
Gets the scene that this object belongs to
(Inherited from SceneObject.)
Public propertyShape
The base shape to be extruded.
Public propertySlices
The slices of the twisted extruded geometry, default value is 1.
Public propertyTwist
The number of degrees of through which the shape is extruded.
Public propertyTwistOffset
The offset that used in twisting, default value is (0, 0, 0).
Methods
  NameDescription
Public methodEquals (Inherited from 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 (Inherited from Object.)
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 the extrusion to mesh.
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