Package gaiasky.scene.component
Class Model
java.lang.Object
gaiasky.scene.component.Model
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Summary
Modifier and TypeFieldDescriptionThe model.double
In 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setModel
(ModelComponent model) void
updateModel
(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, renderConsumerModel, IntModelBatch, Float, Double, RenderingContext, RenderGroup, Boolean, Boolean> The render consumer.
-
-
Constructor Details
-
Model
public Model()
-
-
Method Details
-
setModel
-
updateModel
-