Package gaiasky.scene.view
Class ModelView
java.lang.Object
gaiasky.scene.view.AbstractView
gaiasky.scene.view.BaseView
gaiasky.scene.view.ModelView
-
Field Summary
FieldsFields inherited from class gaiasky.scene.view.AbstractView
entity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidContains actions to take after a new entity has been set.protected voidThis method is called when the entity of this view is cleared.booleanhasSVT()Checks whether the current model has a sparse virtual texture.booleanbooleanMethods inherited from class gaiasky.scene.view.BaseView
componentsCheck, entityCheck, getBase, getBody, getComponent, getComponentType, getOpacity, hasCt, isForceLabel, isVisible, isVisible, setColor, setForcelabel, setForceLabel, setVisible, setVisibleMethods inherited from class gaiasky.scene.view.AbstractView
check, clearEntity, getEntity, isEmpty, isValid, setEntity
-
Field Details
-
model
Model component. -
cloud
Cloud component.
-
-
Constructor Details
-
ModelView
public ModelView()
-
-
Method Details
-
entityChanged
protected void entityChanged()Description copied from class:AbstractViewContains actions to take after a new entity has been set. This method is typically used to initialize the view components.- Overrides:
entityChangedin classBaseView
-
entityCleared
protected void entityCleared()Description copied from class:AbstractViewThis method is called when the entity of this view is cleared. It should set all component references to null.- Overrides:
entityClearedin classBaseView
-
hasSVT
public boolean hasSVT()Checks whether the current model has a sparse virtual texture. -
hasSVTNoCloud
public boolean hasSVTNoCloud() -
hasSVTCloud
public boolean hasSVTCloud()
-