|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.loaders.discreet.TextureBlock
public class TextureBlock
Representation of a single texture and its paramaters needed for rendering.
Textures are not inlined in the file, so this object only contains information needed to read an external file and render it.
The texture subchunk consists of the following information
MAPPING FILENAME 0xA300 MAPPING PARAMETERS 0xA351
Field Summary | |
---|---|
float |
angle
The amount of rotation of the map (degrees or radians?) |
float[] |
blendColor1
blend colour 1. |
float[] |
blendColor2
blend colour 2. |
float[] |
blueBlends
Individual blue component blend colour value |
float |
blurring
The amount of blurring of the texture |
float |
bumpPercentage
Bump map percentage filter to apply. |
java.lang.String |
filename
The name of the file containing the raw texture file. |
float[] |
greenBlends
Individual green component blend colour value |
float[] |
redBlends
Individual red component blend colour value |
float |
strength
A strength (percentage - [0,1]) for the texture map |
int |
tiling
The map tiling type (Not for repeat, clamp etc). |
float |
uOffset
The translation in the u direction |
float |
uScale
The scale in the U direction |
float |
vOffset
The translation in the v direction |
float |
vScale
The scale in the V direction |
Constructor Summary | |
---|---|
TextureBlock()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String filename
public float strength
public int tiling
public float blurring
public float bumpPercentage
public float uScale
public float vScale
public float uOffset
public float vOffset
public float angle
public float[] blendColor1
public float[] blendColor2
public float[] redBlends
public float[] greenBlends
public float[] blueBlends
Constructor Detail |
---|
public TextureBlock()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |