|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IManualObject
| Nested Class Summary | |
|---|---|
static interface |
IManualObject.IManualObjectSection
|
static interface |
IManualObject.IManualObjectSectionShadowRenderable
|
static interface |
IManualObject.ISectionList
|
static interface |
IManualObject.ITempVertex
|
| Nested classes/interfaces inherited from interface org.ogre4j.IMovableObject |
|---|
IMovableObject.IListener |
| Nested classes/interfaces inherited from interface org.ogre4j.IShadowCaster |
|---|
IShadowCaster.IShadowRenderableList, IShadowCaster.IShadowRenderableListIterator |
| Nested classes/interfaces inherited from interface org.ogre4j.IAnimableObject |
|---|
IAnimableObject.IAnimableDictionaryMap |
| Method Summary | |
|---|---|
void |
_updateRenderQueue(IRenderQueue queue)
. |
void |
begin(java.lang.String materialName,
RenderOperation.OperationType opType)
Start defining a part of the object. |
void |
beginUpdate(int sectionIndex)
Start the definition of an update to a part of the object. |
void |
clear()
Completely clear the contents of the object. |
void |
colour(float r,
float g,
float b,
float a)
Add a vertex colour to a vertex. |
void |
colour(IColourValue col)
Add a vertex colour to a vertex. |
void |
convertToMesh(IMeshPtr returnValue,
java.lang.String meshName,
java.lang.String groupName)
Convert this object to a . |
IManualObject.IManualObjectSection |
end()
Finish defining the object and compile the final renderable version. |
void |
estimateIndexCount(int icount)
Estimate the number of indices ahead of time. |
void |
estimateVertexCount(int vcount)
Estimate the number of vertices ahead of time. |
IAxisAlignedBox |
getBoundingBox()
. |
float |
getBoundingRadius()
. |
boolean |
getDynamic()
Gets whether this object is marked as dynamic |
IEdgeData |
getEdgeList()
Implement this method to enable stencil shadows. |
boolean |
getKeepDeclarationOrder()
Gets whether or not the declaration order is to be kept or not. |
java.lang.String |
getMovableType()
. |
long |
getNumSections()
Retrieves the number of objects making up this . |
IManualObject.IManualObjectSection |
getSection(long index)
Gets a pointer to a , i.e. a part of a . |
void |
getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue,
ShadowTechnique shadowTechnique,
ILight light,
IHardwareIndexBufferSharedPtr indexBuffer,
boolean extrudeVertices,
float extrusionDist,
long flags)
Implement this method to enable stencil shadows. |
boolean |
getUseIdentityProjection()
Returns whether or not to use an 'identity' projection. |
boolean |
getUseIdentityView()
Returns whether or not to use an 'identity' view. |
boolean |
hasEdgeList()
Overridden member from . |
void |
index(long idx)
Add a vertex index to construct faces / lines / points via indexing rather than just by a simple list of vertices. |
void |
normal(float x,
float y,
float z)
|
void |
normal(IVector3 norm)
Add a vertex normal to the current vertex. |
void |
position(float x,
float y,
float z)
|
void |
position(IVector3 pos)
Add a vertex position, starting a new vertex at the same time. |
void |
quad(long i1,
long i2,
long i3,
long i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling 6 times, or twice. |
void |
setBoundingBox(IAxisAlignedBox box)
Sets the bounding box. |
void |
setDynamic(boolean dyn)
Use before defining geometry to indicate that you intend to update the geometry regularly and want the internal structure to reflect that. |
void |
setKeepDeclarationOrder(boolean keepOrder)
Sets whether or not to keep the original declaration order when queuing the renderables. |
void |
setMaterialName(int subindex,
java.lang.String name)
Alter the material for a subsection of this object after it has been specified. |
void |
setUseIdentityProjection(boolean useIdentityProjection)
Sets whether or not to use an 'identity' projection. |
void |
setUseIdentityView(boolean useIdentityView)
Sets whether or not to use an 'identity' view. |
void |
textureCoord(float u)
Add a texture coordinate to the current vertex. |
void |
textureCoord(float u,
float v)
|
void |
textureCoord(float u,
float v,
float w)
|
void |
textureCoord(float x,
float y,
float z,
float w)
|
void |
textureCoord(IVector2 uv)
|
void |
textureCoord(IVector3 uvw)
|
void |
textureCoord(IVector4 xyzw)
|
void |
triangle(long i1,
long i2,
long i3)
Add a set of 3 vertex indices to construct a triangle; this is a shortcut to calling 3 times. |
void |
visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any. |
| Methods inherited from interface org.ogre4j.IAnimableObject |
|---|
createAnimableValue, getAnimableValueNames |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void clear()
void estimateVertexCount(int vcount)
void estimateIndexCount(int icount)
void begin(java.lang.String materialName,
RenderOperation.OperationType opType)
void setDynamic(boolean dyn)
boolean getDynamic()
void beginUpdate(int sectionIndex)
void position(IVector3 pos)
void position(float x,
float y,
float z)
void normal(IVector3 norm)
void normal(float x,
float y,
float z)
void textureCoord(float u)
void textureCoord(float u,
float v)
void textureCoord(float u,
float v,
float w)
void textureCoord(float x,
float y,
float z,
float w)
void textureCoord(IVector2 uv)
void textureCoord(IVector3 uvw)
void textureCoord(IVector4 xyzw)
void colour(IColourValue col)
void colour(float r,
float g,
float b,
float a)
void index(long idx)
void triangle(long i1,
long i2,
long i3)
void quad(long i1,
long i2,
long i3,
long i4)
IManualObject.IManualObjectSection end()
void setMaterialName(int subindex,
java.lang.String name)
void convertToMesh(IMeshPtr returnValue,
java.lang.String meshName,
java.lang.String groupName)
void setUseIdentityProjection(boolean useIdentityProjection)
boolean getUseIdentityProjection()
void setUseIdentityView(boolean useIdentityView)
boolean getUseIdentityView()
void setBoundingBox(IAxisAlignedBox box)
IManualObject.IManualObjectSection getSection(long index)
long getNumSections()
void setKeepDeclarationOrder(boolean keepOrder)
boolean getKeepDeclarationOrder()
java.lang.String getMovableType()
getMovableType in interface IMovableObjectIAxisAlignedBox getBoundingBox()
getBoundingBox in interface IMovableObjectfloat getBoundingRadius()
getBoundingRadius in interface IMovableObjectvoid _updateRenderQueue(IRenderQueue queue)
_updateRenderQueue in interface IMovableObjectIEdgeData getEdgeList()
getEdgeList in interface IMovableObjectgetEdgeList in interface IShadowCasterboolean hasEdgeList()
hasEdgeList in interface IMovableObjecthasEdgeList in interface IShadowCaster
void getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue,
ShadowTechnique shadowTechnique,
ILight light,
IHardwareIndexBufferSharedPtr indexBuffer,
boolean extrudeVertices,
float extrusionDist,
long flags)
getShadowVolumeRenderableIterator in interface IMovableObjectgetShadowVolumeRenderableIterator in interface IShadowCaster
void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
IMovableObject
visitRenderables in interface IMovableObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||