Class My2DClipmap<THandler>
Inheritance
System.Object
My2DClipmap<THandler>
Assembly: Sandbox.Game.dll
Syntax
public class My2DClipmap<THandler> : Object where THandler : class, IMy2DClipmapNodeHandler, new()
Type Parameters
Name |
Description |
THandler |
|
Constructors
My2DClipmap()
Declaration
Fields
NodeAllocDeallocs
Declaration
public int NodeAllocDeallocs
Field Value
Type |
Description |
System.Int32 |
|
Properties
Depth
Declaration
public int Depth { get; }
Property Value
Type |
Description |
System.Int32 |
|
FaceHalf
Declaration
public double FaceHalf { get; }
Property Value
Type |
Description |
System.Double |
|
InverseWorldMatrix
Declaration
public MatrixD InverseWorldMatrix { get; }
Property Value
LastPosition
Declaration
public Vector3D LastPosition { get; set; }
Property Value
LeafSize
Declaration
public double LeafSize { get; }
Property Value
Type |
Description |
System.Double |
|
WorldMatrix
Declaration
public MatrixD WorldMatrix { get; }
Property Value
Methods
Clear()
Declaration
GetHandler(Vector2D)
Declaration
public THandler GetHandler(Vector2D point)
Parameters
Returns
Type |
Description |
THandler |
|
Init(IMy2DClipmapManager, ref MatrixD, Double, Double)
Declaration
public void Init(IMy2DClipmapManager manager, ref MatrixD worldMatrix, double sectorSize, double faceSize)
Parameters
Update(Vector3D)
Declaration
public void Update(Vector3D localPosition)
Parameters
Type |
Name |
Description |
Vector3D |
localPosition |
|