|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.miso.util.MisoSceneMetrics
public class MisoSceneMetrics
Contains information on the configuration of a particular isometric
view. The member data are public to facilitate convenient referencing
by the MisoScenePanel class, the values should not be modified
once the metrics are constructed.
| Field Summary | |
|---|---|
short |
blockhei
Dimensions of our scene blocks in tile count. |
short |
blockwid
Dimensions of our scene blocks in tile count. |
float |
fineBX
The y-intercept of the x-axis line within a tile. |
int |
finegran
Number of fine coordinates on each axis within a tile. |
int |
finehhei
Fine coordinate dimensions. |
int |
finehwid
Fine coordinate dimensions. |
float |
finelen
The length between fine coordinates in pixels. |
float |
fineSlopeX
The slope of the x- and y-axis lines within a tile. |
float |
fineSlopeY
The slope of the x- and y-axis lines within a tile. |
float |
slopeX
The slope of the x- and y-axis lines. |
float |
slopeY
The slope of the x- and y-axis lines. |
int |
tilehei
Tile dimensions and half-dimensions in the view. |
int |
tilehhei
Tile dimensions and half-dimensions in the view. |
int |
tilehwid
Tile dimensions and half-dimensions in the view. |
float |
tilelen
The length of a tile edge in pixels. |
int |
tilewid
Tile dimensions and half-dimensions in the view. |
| Constructor Summary | |
|---|---|
MisoSceneMetrics(int tilewid,
int tilehei,
int finegran)
Constructs scene metrics by directly specifying the desired config parameters. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int tilewid
public int tilehei
public int tilehwid
public int tilehhei
public int finehwid
public int finehhei
public int finegran
public short blockwid
public short blockhei
public float tilelen
public float slopeX
public float slopeY
public float finelen
public float fineBX
public float fineSlopeX
public float fineSlopeY
| Constructor Detail |
|---|
public MisoSceneMetrics(int tilewid,
int tilehei,
int finegran)
tilewid - the width in pixels of the tiles.tilehei - the height in pixels of the tiles.finegran - the number of sub-tile divisions to use for fine
coordinates.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||