sealed class
|
MeshOptions
|
extends
|
Disposable
|
||
implements
|
IValidatable
|
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
.
The heightmap to use.
[OwnerValue]
|
||||
public
property
|
Heightmap
{
get
set
}
|
|||
type
|
IHeightmap
|
|||
value
|
|
The heightmap. |
Returns the lifecycle state of this object.
public
virtual
property
|
LifecycleState
{
get
}
|
||
type
|
LifecycleState
|
||
value
|
The lifecycle state. | ||
inherited
|
Disposable.LifecycleState
|
Optional mesh modifier object.
public
property
|
Modifier
{
get
set
}
|
||
type
|
IMeshModifier
|
||
value
|
The
IMeshModifier
object
or
null . |
Remarks:
Defaults
to
null
.
The initial vertex visibility criterion of the mesh.
public
property
|
Visibility
{
get
set
}
|
||
type
|
IVisibleCheck
|
||
value
|
|
The IVisibleCheck object. |
Remarks:
Defaults to Never.
Creates a new instance of MeshOptions.
public
constructor
|
MeshOptions
()
|
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.
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.
Validates the state of this object.
public
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
implements
|
IValidatable.Validate
|