|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEntity
| Nested Class Summary | |
|---|---|
static interface |
IEntity.IChildObjectList
|
static interface |
IEntity.IChildObjectListIterator
|
static interface |
IEntity.IEntitySet
|
static interface |
IEntity.IEntityShadowRenderable
|
static interface |
IEntity.ILODEntityList
|
static interface |
IEntity.ISubEntityList
|
| 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 |
_deinitialise()
Tear down the internal structures of this , rendering it uninitialised. |
IMatrix4 |
_getBoneMatrices()
Internal method for retrieving bone matrix information. |
boolean |
_getBuffersMarkedForAnimation()
Are buffers already marked as vertex animated? |
IVertexData |
_getHardwareVertexAnimVertexData()
Advanced method to get the hardware morph vertex information |
int |
_getNumBoneMatrices()
Internal method for retrieving bone matrix information. |
ITempBlendedBufferInfo |
_getSkelAnimTempBufferInfo()
Advanced method to get the temp buffer information for software skeletal animation. |
IVertexData |
_getSkelAnimVertexData()
Advanced method to get the temporarily blended skeletal vertex information for entities which are software skinned. |
IVertexData |
_getSoftwareVertexAnimVertexData()
Advanced method to get the temporarily blended software vertex animation information |
ITempBlendedBufferInfo |
_getVertexAnimTempBufferInfo()
Advanced method to get the temp buffer information for software morph animation. |
void |
_initialise(boolean forceReinitialise)
Try to initialise the from the underlying resources. |
boolean |
_isAnimated()
Tests if any animation applied to this entity. |
boolean |
_isSkeletonAnimated()
Tests if skeleton was animated. |
void |
_markBuffersUsedForAnimation()
Mark just this vertex data as animated. |
void |
_notifyAttached(INode parent,
boolean isTagPoint)
Overridden from |
void |
_notifyCurrentCamera(ICamera cam)
Overridden - see . |
void |
_updateAnimation()
Advanced method to perform all the updates required for an animated entity. |
void |
_updateRenderQueue(IRenderQueue queue)
Overridden - see . |
void |
addSoftwareAnimationRequest(boolean normalsAlso)
Add a request for software animation |
ITagPoint |
attachObjectToBone(java.lang.String boneName,
IMovableObject pMovable,
IQuaternion offsetOrientation,
IVector3 offsetPosition)
Attaches another object to a certain bone of the skeleton which this entity uses. |
void |
backgroundLoadingComplete(IResource res)
hook to notify that a delay-loaded is complete. |
Entity.VertexDataBindChoice |
chooseVertexDataForBinding(boolean hasVertexAnim)
|
IEntity |
clone(java.lang.String newName)
Clones this entity and returns a pointer to the clone. |
void |
detachAllObjectsFromBone()
|
void |
detachObjectFromBone(IMovableObject obj)
Detaches an object by pointer. |
IMovableObject |
detachObjectFromBone(java.lang.String movableName)
Detach a previously attached using attachObjectToBone. |
IAnimationStateSet |
getAllAnimationStates()
For entities based on animated meshes, gets the objects for all animations. |
IAnimationState |
getAnimationState(java.lang.String name)
For entities based on animated meshes, gets the object for a single animation. |
void |
getAttachedObjectIterator(IEntity.IChildObjectListIterator returnValue)
Gets an iterator to the list of objects attached to bones on this entity. |
IAxisAlignedBox |
getBoundingBox()
Overridden - see . |
float |
getBoundingRadius()
Retrieves the radius of the origin-centered bounding sphere for this object. |
void |
getChildObjectsBoundingBox(IAxisAlignedBox returnValue)
|
int |
getCurrentLodIndex()
Returns the current LOD used to render |
boolean |
getDisplaySkeleton()
Returns whether or not the entity is currently displaying its skeleton. |
IEdgeData |
getEdgeList()
Overridden member from . |
IEntity |
getManualLodLevel(int index)
Gets a pointer to the entity representing the numbered manual level of detail. |
IMeshPtr |
getMesh()
Gets the that this is based on. |
java.lang.String |
getMovableType()
Overridden from |
int |
getNumManualLodLevels()
Returns the number of manual levels of detail that this entity supports. |
long |
getNumSubEntities()
Retrieves the number of objects making up this entity. |
void |
getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue,
ShadowTechnique shadowTechnique,
ILight light,
IHardwareIndexBufferSharedPtr indexBuffer,
boolean extrudeVertices,
float extrusionDistance,
long flags)
Overridden member from . |
ISkeletonInstance |
getSkeleton()
Get this Entity's personal skeleton instance. |
IEntity.IEntitySet |
getSkeletonInstanceSharingSet()
Returns a pointer to the set of entities which share a . |
int |
getSoftwareAnimationNormalsRequests()
Returns the number of requests that have been made for software animation of normals |
int |
getSoftwareAnimationRequests()
Returns the number of requests that have been made for software animation |
ISubEntity |
getSubEntity(long index)
Gets a pointer to a , ie a part of an . |
ISubEntity |
getSubEntity(java.lang.String name)
Gets a pointer to a by name |
long |
getTypeFlags()
Get the 'type flags' for this . |
IVertexData |
getVertexDataForBinding()
|
IAxisAlignedBox |
getWorldBoundingBox(boolean derive)
Retrieves the axis-aligned bounding box for this object in world coordinates. |
ISphere |
getWorldBoundingSphere(boolean derive)
Retrieves the worldspace bounding sphere for this object. |
boolean |
hasEdgeList()
Overridden member from . |
boolean |
hasSkeleton()
Returns whether or not this entity is skeletally animated. |
boolean |
hasVertexAnimation()
Returns whether or not this entity is either morph or pose animated. |
boolean |
isHardwareAnimationEnabled()
Returns whether or not hardware animation is enabled. |
boolean |
isInitialised()
Has this been initialised yet? |
void |
refreshAvailableAnimationState()
Updates the internal animation state set to include the latest available animations from the attached skeleton. |
void |
removeSoftwareAnimationRequest(boolean normalsAlso)
Removes a request for software animation |
void |
setDisplaySkeleton(boolean display)
Tells the whether or not it should display it's skeleton, if it has one. |
void |
setMaterialLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
Sets a level-of-detail bias for the material detail of this entity. |
void |
setMaterialName(java.lang.String name)
Sets the material to use for the whole of this entity. |
void |
setMeshLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
Sets a level-of-detail bias for the mesh detail of this entity. |
void |
setPolygonModeOverrideable(boolean PolygonModeOverrideable)
Sets whether the polygon mode of this entire entity may be overridden by the camera detail settings. |
void |
setRenderQueueGroup(short queueID)
Sets the render queue group this entity will be rendered through. |
void |
shareSkeletonInstanceWith(IEntity entity)
Shares the with the supplied entity. |
boolean |
sharesSkeletonInstance()
Returns whether this entity shares it's SkeltonInstance with other entity instances. |
void |
stopSharingSkeletonInstance()
Stops sharing the with other entities. |
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 |
| Methods inherited from interface org.ogre4j.IMovableObject.IListener |
|---|
objectAttached, objectDestroyed, objectDetached, objectMoved, objectQueryLights, objectRendering |
| Method Detail |
|---|
IMeshPtr getMesh()
ISubEntity getSubEntity(long index)
ISubEntity getSubEntity(java.lang.String name)
long getNumSubEntities()
IEntity clone(java.lang.String newName)
void setMaterialName(java.lang.String name)
void _notifyCurrentCamera(ICamera cam)
_notifyCurrentCamera in interface IMovableObjectvoid setRenderQueueGroup(short queueID)
IMovableObject
setRenderQueueGroup in interface IMovableObjectIAxisAlignedBox getBoundingBox()
getBoundingBox in interface IMovableObjectvoid getChildObjectsBoundingBox(IAxisAlignedBox returnValue)
void _updateRenderQueue(IRenderQueue queue)
_updateRenderQueue in interface IMovableObjectjava.lang.String getMovableType()
getMovableType in interface IMovableObjectIAnimationState getAnimationState(java.lang.String name)
IAnimationStateSet getAllAnimationStates()
void setDisplaySkeleton(boolean display)
boolean getDisplaySkeleton()
IEntity getManualLodLevel(int index)
int getNumManualLodLevels()
int getCurrentLodIndex()
void setMeshLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
void setMaterialLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
void setPolygonModeOverrideable(boolean PolygonModeOverrideable)
ITagPoint attachObjectToBone(java.lang.String boneName,
IMovableObject pMovable,
IQuaternion offsetOrientation,
IVector3 offsetPosition)
IMovableObject detachObjectFromBone(java.lang.String movableName)
void detachObjectFromBone(IMovableObject obj)
void detachAllObjectsFromBone()
void getAttachedObjectIterator(IEntity.IChildObjectListIterator returnValue)
float getBoundingRadius()
IMovableObject
getBoundingRadius in interface IMovableObjectIAxisAlignedBox getWorldBoundingBox(boolean derive)
IMovableObject
getWorldBoundingBox in interface IMovableObjectgetWorldBoundingBox in interface IShadowCasterISphere getWorldBoundingSphere(boolean derive)
IMovableObject
getWorldBoundingSphere 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 extrusionDistance,
long flags)
getShadowVolumeRenderableIterator in interface IMovableObjectgetShadowVolumeRenderableIterator in interface IShadowCasterIMatrix4 _getBoneMatrices()
int _getNumBoneMatrices()
boolean hasSkeleton()
ISkeletonInstance getSkeleton()
boolean isHardwareAnimationEnabled()
void _notifyAttached(INode parent,
boolean isTagPoint)
_notifyAttached in interface IMovableObjectint getSoftwareAnimationRequests()
int getSoftwareAnimationNormalsRequests()
void addSoftwareAnimationRequest(boolean normalsAlso)
void removeSoftwareAnimationRequest(boolean normalsAlso)
void shareSkeletonInstanceWith(IEntity entity)
boolean hasVertexAnimation()
void stopSharingSkeletonInstance()
boolean sharesSkeletonInstance()
IEntity.IEntitySet getSkeletonInstanceSharingSet()
void refreshAvailableAnimationState()
void _updateAnimation()
boolean _isAnimated()
boolean _isSkeletonAnimated()
IVertexData _getSkelAnimVertexData()
IVertexData _getSoftwareVertexAnimVertexData()
IVertexData _getHardwareVertexAnimVertexData()
ITempBlendedBufferInfo _getSkelAnimTempBufferInfo()
ITempBlendedBufferInfo _getVertexAnimTempBufferInfo()
long getTypeFlags()
IMovableObject
getTypeFlags in interface IMovableObjectIVertexData getVertexDataForBinding()
Entity.VertexDataBindChoice chooseVertexDataForBinding(boolean hasVertexAnim)
boolean _getBuffersMarkedForAnimation()
void _markBuffersUsedForAnimation()
boolean isInitialised()
void _initialise(boolean forceReinitialise)
void _deinitialise()
void backgroundLoadingComplete(IResource res)
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 | |||||||||