Class Model
java.lang.Object
gaiasky.scene.component.Model
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe model.doubleIn constructed models, this attribute is used to cache the model size (diameter, size, width, height, depth) in order to compute an accurate solid angle.Consumers.Consumer10<ModelEntityRenderSystem, com.badlogic.ashley.core.Entity, Model, IntModelBatch, Float, Double, RenderingContext, RenderGroup, Boolean, Boolean> The render consumer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetModel(ModelComponent model) voidupdateModel(ModelComponent model)
-
Field Details
-
model
The model. -
modelSize
public double modelSizeIn constructed models, this attribute is used to cache the model size (diameter, size, width, height, depth) in order to compute an accurate solid angle. -
renderConsumer
public Consumers.Consumer10<ModelEntityRenderSystem, com.badlogic.ashley.core.Entity, Model, IntModelBatch, Float, Double, RenderingContext, RenderGroup, Boolean, Boolean> renderConsumerThe render consumer.
-
-
Constructor Details
-
Model
public Model()
-
-
Method Details
-
setModel
-
updateModel
-