The Primitive type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Primitive |
Constructor
|
Methods
Name | Description | |
---|---|---|
![]() | Clone |
Returns a copy
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetBoundingBox()()()() |
Returns a bounding box that covers this primitive. Default returns a huge box, so
implement this in the derived class for efficiency
|
![]() | GetBoundingBox(AABox%) |
Returns a bounding box that covers this primitive. Default returns a huge box, so
implement this in the derived class for efficiency
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetMassProperties |
Returns the mass, center of mass, and intertia tensor around the origin
|
![]() | GetSurfaceArea |
Calculate and return the surface area
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | GetVolume |
Calculate and return the volume
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | SegmentIntersect |
Must support intersection with a segment (ray cast)
|
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | InverseTransformMatrix |
Gets invert transform matrix
|
![]() | Transform |
Gets or Sets transform
|
![]() | TransformMatrix |
Gets transform matrix
|
![]() | Type |
Gets type
|