APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.graphics.g3d.particles.renderers

public Class ModelInstanceRenderer

extends ParticleControllerRenderer<ModelInstanceControllerRenderData, ModelInstanceParticleBatch>
Class Inheritance
Imports
com.badlogic.gdx.graphics.g3d.ModelInstance, com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute, .ColorAttribute, com.badlogic.gdx.graphics.g3d.particles.ParticleChannels, .ParticleControllerComponent, com.badlogic.gdx.graphics.g3d.particles.batches.ModelInstanceParticleBatch, .ParticleBatch

A ParticleControllerRenderer which will render particles as ModelInstance to a ModelInstanceParticleBatch.
Author
Inferno

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private boolean
Inherited from com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer:
batchrenderData

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
allocateChannels()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Called during initialization to allocate additional particles channels

public ParticleControllerComponent
public void
public boolean
public void
Inherited from com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer:
setsetBatch

Field Detail

hasColorback to summary
private boolean hasColor
hasRotationback to summary
private boolean hasRotation
hasScaleback to summary
private boolean hasScale

Constructor Detail

ModelInstanceRendererback to summary
public ModelInstanceRenderer()
ModelInstanceRendererback to summary
public ModelInstanceRenderer(ModelInstanceParticleBatch batch)

Method Detail

allocateChannelsback to summary
public void allocateChannels()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Called during initialization to allocate additional particles channels

Annotations
@Override
copyback to summary
public ParticleControllerComponent copy()

Implements abstract com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.copy.

Annotations
@Override
initback to summary
public void init()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.init.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.init.

Called once during intialization

Annotations
@Override
isCompatibleback to summary
public boolean isCompatible(ParticleBatch<?> batch)

Implements abstract com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer.isCompatible.

Annotations
@Override
updateback to summary
public void update()

Overrides com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer.update.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.update.

Called to execute the component behavior.

Annotations
@Override