Show / Hide Table of Contents

Class My2DClipmap<THandler>

Inheritance
System.Object
My2DClipmap<THandler>
Namespace: Sandbox.Game.WorldEnvironment
Assembly: Sandbox.Game.dll
Syntax
public class My2DClipmap<THandler> : Object where THandler : class, IMy2DClipmapNodeHandler, new()
Type Parameters
Name Description
THandler

Constructors

My2DClipmap()

Declaration
public My2DClipmap()

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
Type Description
MatrixD

LastPosition

Declaration
public Vector3D LastPosition { get; set; }
Property Value
Type Description
Vector3D

LeafSize

Declaration
public double LeafSize { get; }
Property Value
Type Description
System.Double

WorldMatrix

Declaration
public MatrixD WorldMatrix { get; }
Property Value
Type Description
MatrixD

Methods

Clear()

Declaration
public void Clear()

GetHandler(Vector2D)

Declaration
public THandler GetHandler(Vector2D point)
Parameters
Type Name Description
Vector2D point
Returns
Type Description
THandler

Init(IMy2DClipmapManager, ref MatrixD, Double, Double)

Declaration
public void Init(IMy2DClipmapManager manager, ref MatrixD worldMatrix, double sectorSize, double faceSize)
Parameters
Type Name Description
IMy2DClipmapManager manager
MatrixD worldMatrix
System.Double sectorSize
System.Double faceSize

Update(Vector3D)

Declaration
public void Update(Vector3D localPosition)
Parameters
Type Name Description
Vector3D localPosition
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾