TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class MeshOptions in Tinman.Terrain.Kernel

sealed class MeshOptions extends Disposable
  implements IValidatable

Public / Attributes

Geometry

The geometry to use.

public property Geometry { get set }
type IGeometry
value The IGeometry object or null.

Remarks:

If null, a geometry is constructed via ForRaster, using the georeference of Heightmap.

Defaults to null.

Heightmap

The heightmap to use.

[OwnerValue]
public property Heightmap { get set }
type IHeightmap
value [not-null] The heightmap.

LifecycleState

Returns the lifecycle state of this object.

public virtual property LifecycleState { get }
type LifecycleState
value The lifecycle state.
inherited Disposable.LifecycleState

Modifier

Optional mesh modifier object.

public property Modifier { get set }
type IMeshModifier
value The IMeshModifier object or null.

Remarks:

Defaults to null.

Visibility

The initial vertex visibility criterion of the mesh.

public property Visibility { get set }
type IVisibleCheck
value [not-null] The IVisibleCheck object.

Remarks:

Defaults to Never.

Public / Constructors

MeshOptions

Creates a new instance of MeshOptions.

public constructor MeshOptions ()

Public / Methods

AcquireTry

Acquires a strong reference to this disposable object.

[OwnerReturn, ThreadSafe]
public method AcquireTry ()
type IDisposable
returns this if a new strong reference has been acquired, null if this object is already being disposed.
inherited Disposable.AcquireTry

Remarks:

The object will not be actually disposed by calls to Dispose when there is at least one strong reference left. Code that calls the AcquireTry method is responsible for calling the Dispose method accordingly.

This method is not intended to be used in performance-critical code. It should only be used to high-level resource management.

Dispose

Releases all resources held by this object if there are no more strong references to it, decrements the reference counter by one otherwise.

[Dispose, OwnerThis, ThreadSafe]
public method Dispose ()
inherited Disposable.Dispose

Remarks:

The Dispose method silently returns if the object has already been disposed.

Validate

Validates the state of this object.

public method Validate (Validator validator)
params validator [not-null] The validator object.
implements IValidatable.Validate