public class NMLModelLODTreeLayer extends Layer
swigCMemOwn| Constructor and Description |
|---|
NMLModelLODTreeLayer(long cPtr,
boolean cMemoryOwn) |
NMLModelLODTreeLayer(NMLModelLODTreeDataSource dataSource)
Constructs a NMLModelLODTreeLayer object from a data source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(NMLModelLODTreeLayer obj) |
NMLModelLODTreeDataSource |
getDataSource()
Returns the data source of this layer.
|
float |
getLODResolutionFactor()
Returns relative model LOD resolution.
|
long |
getMaxMemorySize()
Returns memory usage constraints for the layer.
|
boolean |
isUpdateInProgress()
Tests whether this layer is being currently updated.
|
void |
setLODResolutionFactor(float factor)
Set relative model LOD resolution.
|
void |
setMaxMemorySize(long size)
Set memory usage constraints for the layer.
|
static NMLModelLODTreeLayer |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
equals, getCPtr, getPriority, getVisibleZoomRange, hashCode, isVisible, refresh, setPriority, setVisible, setVisibleZoomRange, updatepublic NMLModelLODTreeLayer(long cPtr,
boolean cMemoryOwn)
public NMLModelLODTreeLayer(NMLModelLODTreeDataSource dataSource)
dataSource - The data source from which this layer loads data.public static long getCPtr(NMLModelLODTreeLayer obj)
public static NMLModelLODTreeLayer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public NMLModelLODTreeDataSource getDataSource()
public long getMaxMemorySize()
public void setMaxMemorySize(long size)
size - The memory limit in bytes.public float getLODResolutionFactor()
public void setLODResolutionFactor(float factor)
factor - The relative LOD resolution factor.public boolean isUpdateInProgress()
LayerisUpdateInProgress in class Layerpublic java.lang.String swigGetClassName()
swigGetClassName in class Layerpublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class Layer