Package | Description |
---|---|
com.badlogic.gdx.graphics.g3d.decals |
Modifier and Type | Method and Description |
---|---|
static Decal |
Decal.newDecal(float width,
float height,
TextureRegion textureRegion)
Creates a decal using the region for texturing
|
static Decal |
Decal.newDecal(float width,
float height,
TextureRegion textureRegion,
boolean hasTransparency)
Creates a decal using the region for texturing
|
static Decal |
Decal.newDecal(float width,
float height,
TextureRegion textureRegion,
int srcBlendFactor,
int dstBlendFactor)
Creates a decal using the region for texturing and the specified blending parameters for blending
|
static Decal |
Decal.newDecal(float width,
float height,
TextureRegion textureRegion,
int srcBlendFactor,
int dstBlendFactor,
DecalMaterial material)
Creates a decal using the region for texturing and the specified blending parameters for blending
|
static Decal |
Decal.newDecal(TextureRegion textureRegion)
Creates a decal assuming the dimensions of the texture region
|
static Decal |
Decal.newDecal(TextureRegion textureRegion,
boolean hasTransparency)
Creates a decal assuming the dimensions of the texture region and adding transparency
|
Modifier and Type | Method and Description |
---|---|
void |
DecalBatch.add(Decal decal)
Add a decal to the batch, marking it for later rendering
|
int |
SimpleOrthoGroupStrategy.decideGroup(Decal decal) |
int |
GroupStrategy.decideGroup(Decal decal)
Assigns a group to a decal
|
int |
CameraGroupStrategy.decideGroup(Decal decal) |
Modifier and Type | Method and Description |
---|---|
void |
GroupPlug.beforeGroup(Array<Decal> contents) |
void |
SimpleOrthoGroupStrategy.beforeGroup(int group,
Array<Decal> contents) |
void |
PluggableGroupStrategy.beforeGroup(int group,
Array<Decal> contents) |
void |
GroupStrategy.beforeGroup(int group,
Array<Decal> contents)
Invoked directly before rendering the contents of a group
|
void |
CameraGroupStrategy.beforeGroup(int group,
Array<Decal> contents) |
Constructor and Description |
---|
CameraGroupStrategy(Camera camera,
Comparator<Decal> sorter) |
Copyright © 2015. All rights reserved.