Package | Description |
---|---|
com.threed.jpct | |
com.threed.jpct.util |
Modifier and Type | Field and Description |
---|---|
static RGBColor |
RGBColor.BLACK |
static RGBColor |
RGBColor.BLUE |
static RGBColor |
RGBColor.GREEN |
static RGBColor |
RGBColor.RED |
static RGBColor |
RGBColor.WHITE |
Modifier and Type | Method and Description |
---|---|
RGBColor |
Object3D.getAdditionalColor()
Returns the additional color.
|
RGBColor |
Polyline.getColor()
Returns the color of the line strip.
|
Modifier and Type | Method and Description |
---|---|
void |
FrameBuffer.blit(Texture src,
float srcX,
float srcY,
float destX,
float destY,
float sourceWidth,
float sourceHeight,
float destWidth,
float destHeight,
int transValue,
boolean additive,
RGBColor addColor)
Special version of blit() that allows for scaling, i.e. it doesn't make
1-to-1 copies but can up- or down-scale.
|
void |
FrameBuffer.clear(RGBColor col)
Clears the framebuffer with the given color.
|
void |
FrameBuffer.clearColorBufferOnly(RGBColor col)
Clears only the color bufferr, not the depth buffer.
|
void |
World.drawWireframe(FrameBuffer buffer,
RGBColor color,
int size,
boolean pointMode)
Draws the current scene as a single-colored wireframe.
|
void |
Object3D.setAdditionalColor(RGBColor col)
Sets the additional color for this object.
|
void |
Polyline.setColor(RGBColor color)
Sets the color of the line strip.
|
Constructor and Description |
---|
NPOTTexture(int width,
int height,
RGBColor col)
Creates a new NPOT texture.
|
Polyline(SimpleVector[] points,
RGBColor color)
Creates a new, static Polyline.
|
Texture(int width,
int height,
RGBColor col)
Creates a colored texture with no alpha in the given dimensions.
|
Modifier and Type | Method and Description |
---|---|
void |
ShadowHelper.setAmbientLight(RGBColor col)
Sets the ambient lighting used during the shadow pass.
|
void |
Overlay.setColor(RGBColor color)
Sets a new additional color.
|