The Heightmap type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Clone |
Clone
(Overrides Primitive..::..Clone()()()().) |
![]() | 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
(Inherited from Primitive.) |
![]() | GetBoundingBox(AABox%) |
GetBoundingBox
(Overrides Primitive..::..GetBoundingBox(AABox%).) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetHeight(Vector3) |
GetHeight
|
![]() | GetHeight(Int32, Int32) |
Get the height at a particular index, indices are clamped
|
![]() | GetHeightAndNormal(Single%, Vector3%, Vector3) |
GetHeightAndNormal
|
![]() | GetHeightAndNormal(Single%, Vector3%, Int32, Int32) |
Get height and normal (quicker than calling both)
|
![]() | GetMassProperties |
GetMassProperties
(Overrides Primitive..::..GetMassProperties(PrimitiveProperties, Single%, Vector3%, Matrix%).) |
![]() | GetNormal(Vector3) |
GetNormal
|
![]() | GetNormal(Int32, Int32) |
Get the normal
|
![]() | GetSurfaceArea |
GetSurfaceArea
(Overrides Primitive..::..GetSurfaceArea()()()().) |
![]() | GetSurfacePos(Vector3%, Vector3) |
GetSurfacePos
|
![]() | GetSurfacePos(Vector3%, Int32, Int32) |
GetSurfacePos
|
![]() | GetSurfacePosAndNormal(Vector3%, Vector3%, Vector3) |
GetSurfacePosAndNormal
|
![]() | GetSurfacePosAndNormal(Vector3%, Vector3%, Int32, Int32) |
GetSurfacePosAndNormal
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | GetVolume |
GetVolume
(Overrides Primitive..::..GetVolume()()()().) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | RecalculateBoundingBox |
Call this after changing heights. So the bounding
box for collision detection gets recalculated.
|
![]() | SegmentIntersect |
SegmentIntersect
(Overrides Primitive..::..SegmentIntersect(Single%, Vector3%, Vector3%, Segment).) |
![]() | ToString | (Inherited from Object.) |