|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.model.config.GeneratedStaticConfig.Generator
com.threerings.opengl.model.config.GeneratedStaticConfig.Quad
public static class GeneratedStaticConfig.Quad
Generates a simple quad with customizable level of tessellation.
| Field Summary | |
|---|---|
int |
divisionsX
The number of divisions in the x direction. |
int |
divisionsY
The number of divisions in the y direction. |
ConfigReference<MaterialConfig> |
material
The material for the quad. |
float |
sizeX
The size in the x direction. |
float |
sizeY
The size in the y direction. |
| Constructor Summary | |
|---|---|
GeneratedStaticConfig.Quad()
|
|
| Method Summary | |
|---|---|
StaticConfig.Resolved |
generate(GlContext ctx,
int influenceFlags)
(Re)generates the geometry. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(min=0.0,
step=0.01,
hgroup="s")
public float sizeX
@Editable(min=0.0,
step=0.01,
hgroup="s")
public float sizeY
@Editable(min=1.0,
hgroup="d")
public int divisionsX
@Editable(min=1.0,
hgroup="d")
public int divisionsY
@Editable(nullable=true) public ConfigReference<MaterialConfig> material
| Constructor Detail |
|---|
public GeneratedStaticConfig.Quad()
| Method Detail |
|---|
public StaticConfig.Resolved generate(GlContext ctx,
int influenceFlags)
GeneratedStaticConfig.Generator
generate in class GeneratedStaticConfig.Generator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||