|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.ShallowObject
com.threerings.opengl.material.Projection
public class Projection
Represents a projection onto a surface.
| Field Summary | |
|---|---|
protected ColorState |
_colorState
The projection's color state. |
protected Vector4f |
_genPlaneQ
The q texture coordinate generation plane. |
protected Vector4f |
_genPlaneR
The r texture coordinate generation plane. |
protected Vector4f |
_genPlaneS
The s texture coordinate generation plane. |
protected Vector4f |
_genPlaneT
The t texture coordinate generation plane. |
protected TechniqueConfig |
_technique
The technique to use to render the projection. |
| Constructor Summary | |
|---|---|
Projection(TechniqueConfig technique,
ColorState colorState)
Creates a new projection. |
|
| Method Summary | |
|---|---|
Vector4f |
getGenPlaneQ()
Returns a reference to the q texture coordinate generation plane. |
Vector4f |
getGenPlaneR()
Returns a reference to the r texture coordinate generation plane. |
Vector4f |
getGenPlaneS()
Returns a reference to the s texture coordinate generation plane. |
Vector4f |
getGenPlaneT()
Returns a reference to the t texture coordinate generation plane. |
TechniqueConfig |
getTechnique()
Returns a reference to the technique to use to render this projection. |
static TechniqueConfig |
rewrite(TechniqueConfig technique,
Projection[] projections)
Rewrites a technique to include the supplied projections. |
| Methods inherited from class com.threerings.util.ShallowObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TechniqueConfig _technique
@Scoped protected ColorState _colorState
@Scoped protected Vector4f _genPlaneS
@Scoped protected Vector4f _genPlaneT
@Scoped protected Vector4f _genPlaneR
@Scoped protected Vector4f _genPlaneQ
| Constructor Detail |
|---|
public Projection(TechniqueConfig technique,
ColorState colorState)
technique - the material technique to use to render the projection.| Method Detail |
|---|
public static TechniqueConfig rewrite(TechniqueConfig technique,
Projection[] projections)
public TechniqueConfig getTechnique()
public Vector4f getGenPlaneS()
public Vector4f getGenPlaneT()
public Vector4f getGenPlaneR()
public Vector4f getGenPlaneQ()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||