|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Entity
public class Entity
| Nested Class Summary | |
|---|---|
static class |
Entity.ChildObjectList
|
static class |
Entity.ChildObjectListIterator
|
static class |
Entity.EntitySet
|
protected static class |
Entity.EntityShadowRenderable
|
protected static class |
Entity.LODEntityList
|
protected static class |
Entity.SubEntityList
|
static class |
Entity.VertexDataBindChoice
|
| Nested classes/interfaces inherited from interface org.ogre4j.IEntity |
|---|
IEntity.IChildObjectList, IEntity.IChildObjectListIterator, IEntity.IEntitySet, IEntity.IEntityShadowRenderable, IEntity.ILODEntityList, 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 |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Entity(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Entity(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Entity(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| 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? |
IMovableObjectFactory |
_getCreator()
Get the creator of this object, if any (internal use only) |
IVertexData |
_getHardwareVertexAnimVertexData()
Advanced method to get the hardware morph vertex information |
ILightList |
_getLightList()
Returns a pointer to the current list of lights for this object. |
ISceneManager |
_getManager()
Get the manager of this object, if any (internal use only) |
int |
_getNumBoneMatrices()
Internal method for retrieving bone matrix information. |
IMatrix4 |
_getParentNodeFullTransform()
|
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 |
_notifyCreator(IMovableObjectFactory fact)
Notify the object of it's creator (internal use only) |
void |
_notifyCurrentCamera(ICamera cam)
Overridden - see . |
void |
_notifyManager(ISceneManager man)
Notify the object of it's manager (internal use only) |
void |
_notifyMoved()
Internal method called to notify the object that it has been moved. |
void |
_updateAnimation()
Advanced method to perform all the updates required for an animated entity. |
void |
_updateRenderQueue(IRenderQueue queue)
Overridden - see . |
void |
addQueryFlags(long flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. |
void |
addSoftwareAnimationRequest(boolean normalsAlso)
Add a request for software animation |
void |
addVisibilityFlags(long flags)
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object. |
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 |
createAnimableValue(IAnimableValuePtr returnValue,
java.lang.String valueName)
Create a reference-counted AnimableValuePtr for the named value. |
void |
delete()
Deletes the corresponding C++ object. |
void |
detachAllObjectsFromBone()
|
void |
detachObjectFromBone(IMovableObject obj)
Detaches an object by pointer. |
IMovableObject |
detachObjectFromBone(java.lang.String movableName)
Detach a previously attached using attachObjectToBone. |
void |
detatchFromParent()
Detaches an object from a parent or , if attached. |
static void |
extrudeVertices(IHardwareVertexBufferSharedPtr vertexBuffer,
int originalVertexCount,
IVector4 lightPos,
float extrudeDist)
Utility method for extruding vertices based on a light. |
void |
finalize()
|
IAnimationStateSet |
getAllAnimationStates()
For entities based on animated meshes, gets the objects for all animations. |
IStringVector |
getAnimableValueNames()
Gets a list of animable value names for this object. |
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. |
boolean |
getCastShadows()
Returns whether shadow casting is enabled for this object. |
void |
getChildObjectsBoundingBox(IAxisAlignedBox returnValue)
|
int |
getCurrentLodIndex()
Returns the current LOD used to render |
IAxisAlignedBox |
getDarkCapBounds(ILight light,
float dirLightExtrusionDist)
Overridden member from . |
static long |
getDefaultQueryFlags()
Get the default query flags for all future instances. |
static long |
getDefaultVisibilityFlags()
Get the default visibility flags for all future instances. |
boolean |
getDisplaySkeleton()
Returns whether or not the entity is currently displaying its skeleton. |
IEdgeData |
getEdgeList()
Overridden member from . |
IAxisAlignedBox |
getLightCapBounds()
Overridden member from . |
IMovableObject.IListener |
getListener()
Gets the current listener for this object. |
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 |
java.lang.String |
getName()
Returns the name of this object. |
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. |
INode |
getParentNode()
Returns the node to which this object is attached. |
ISceneNode |
getParentSceneNode()
Returns the scene node to which this object is attached. |
float |
getPointExtrusionDistance(ILight l)
Get the distance to extrude for a point/spot light |
long |
getQueryFlags()
|
float |
getRenderingDistance()
Gets the distance at which batches are no longer rendered. |
short |
getRenderQueueGroup()
Gets the queue group for this entity, see setRenderQueueGroup for full details. |
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 . |
IAny |
getUserAny()
Retrieves the custom user value associated with this object. |
IUserDefinedObject |
getUserObject()
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject. |
IVertexData |
getVertexDataForBinding()
|
long |
getVisibilityFlags()
|
boolean |
getVisible()
Gets this object whether to be visible or not, if it has a renderable component. |
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 |
isAttached()
Returns true if this object is attached to a or . |
boolean |
isDebugDisplayEnabled()
|
boolean |
isHardwareAnimationEnabled()
Returns whether or not hardware animation is enabled. |
boolean |
isInitialised()
Has this been initialised yet? |
boolean |
isInScene()
Returns true if this object is attached to a or , and this / is currently in an active part of the scene graph. |
boolean |
isVisible()
Returns whether or not this object is supposed to be visible or not. |
void |
objectAttached(IMovableObject a1)
has been attached to a node |
void |
objectDestroyed(IMovableObject a1)
is being destroyed |
void |
objectDetached(IMovableObject a1)
has been detached from a node |
void |
objectMoved(IMovableObject a1)
has been moved |
ILightList |
objectQueryLights(IMovableObject a1)
Called when the movable object needs to query a light list. |
boolean |
objectRendering(IMovableObject a1,
ICamera a2)
Called when the movable object of the camera to be used for rendering. |
ILightList |
queryLights()
Gets a list of lights, ordered relative to how close they are to this movable object. |
void |
refreshAvailableAnimationState()
Updates the internal animation state set to include the latest available animations from the attached skeleton. |
void |
removeQueryFlags(long flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. |
void |
removeSoftwareAnimationRequest(boolean normalsAlso)
Removes a request for software animation |
void |
removeVisibilityFlags(long flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object. |
void |
setCastShadows(boolean enabled)
Sets whether or not this object will cast shadows. |
void |
setDebugDisplayEnabled(boolean enabled)
Sets whether or not the debug display of this object is enabled. |
static void |
setDefaultQueryFlags(long flags)
Set the default query flags for all future instances. |
static void |
setDefaultVisibilityFlags(long flags)
Set the default visibility flags for all future instances. |
void |
setDisplaySkeleton(boolean display)
Tells the whether or not it should display it's skeleton, if it has one. |
void |
setListener(IMovableObject.IListener listener)
Sets a listener for this object. |
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 |
setQueryFlags(long flags)
Sets the query flags for this object. |
void |
setRenderingDistance(float dist)
Sets the distance at which the object is no longer rendered. |
void |
setRenderQueueGroup(short queueID)
Sets the render queue group this entity will be rendered through. |
void |
setUserAny(IAny anything)
Sets any kind of user value on this object. |
void |
setUserObject(IUserDefinedObject obj)
Call this to associate your own custom user object instance with this . |
void |
setVisibilityFlags(long flags)
Sets the visiblity flags for this object. |
void |
setVisible(boolean visible)
Tells this object whether to be visible or not, if it has a renderable component. |
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 class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public Entity(InstancePointer p)
protected Entity(InstancePointer p,
boolean remote)
public Entity(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic IMeshPtr getMesh()
getMesh in interface IEntitypublic ISubEntity getSubEntity(long index)
getSubEntity in interface IEntitypublic ISubEntity getSubEntity(java.lang.String name)
getSubEntity in interface IEntitypublic long getNumSubEntities()
getNumSubEntities in interface IEntitypublic IEntity clone(java.lang.String newName)
clone in interface IEntitypublic void setMaterialName(java.lang.String name)
setMaterialName in interface IEntitypublic void _notifyCurrentCamera(ICamera cam)
_notifyCurrentCamera in interface IEntity_notifyCurrentCamera in interface IMovableObjectpublic void setRenderQueueGroup(short queueID)
IMovableObject
setRenderQueueGroup in interface IEntitysetRenderQueueGroup in interface IMovableObjectpublic IAxisAlignedBox getBoundingBox()
getBoundingBox in interface IEntitygetBoundingBox in interface IMovableObjectpublic void getChildObjectsBoundingBox(IAxisAlignedBox returnValue)
getChildObjectsBoundingBox in interface IEntitypublic void _updateRenderQueue(IRenderQueue queue)
_updateRenderQueue in interface IEntity_updateRenderQueue in interface IMovableObjectpublic java.lang.String getMovableType()
getMovableType in interface IEntitygetMovableType in interface IMovableObjectpublic IAnimationState getAnimationState(java.lang.String name)
getAnimationState in interface IEntitypublic IAnimationStateSet getAllAnimationStates()
getAllAnimationStates in interface IEntitypublic void setDisplaySkeleton(boolean display)
setDisplaySkeleton in interface IEntitypublic boolean getDisplaySkeleton()
getDisplaySkeleton in interface IEntitypublic IEntity getManualLodLevel(int index)
getManualLodLevel in interface IEntitypublic int getNumManualLodLevels()
getNumManualLodLevels in interface IEntitypublic int getCurrentLodIndex()
getCurrentLodIndex in interface IEntity
public void setMeshLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
setMeshLodBias in interface IEntity
public void setMaterialLodBias(float factor,
int maxDetailIndex,
int minDetailIndex)
setMaterialLodBias in interface IEntitypublic void setPolygonModeOverrideable(boolean PolygonModeOverrideable)
setPolygonModeOverrideable in interface IEntity
public ITagPoint attachObjectToBone(java.lang.String boneName,
IMovableObject pMovable,
IQuaternion offsetOrientation,
IVector3 offsetPosition)
attachObjectToBone in interface IEntitypublic IMovableObject detachObjectFromBone(java.lang.String movableName)
detachObjectFromBone in interface IEntitypublic void detachObjectFromBone(IMovableObject obj)
detachObjectFromBone in interface IEntitypublic void detachAllObjectsFromBone()
detachAllObjectsFromBone in interface IEntitypublic void getAttachedObjectIterator(IEntity.IChildObjectListIterator returnValue)
getAttachedObjectIterator in interface IEntitypublic float getBoundingRadius()
IMovableObject
getBoundingRadius in interface IEntitygetBoundingRadius in interface IMovableObjectpublic IAxisAlignedBox getWorldBoundingBox(boolean derive)
IMovableObject
getWorldBoundingBox in interface IEntitygetWorldBoundingBox in interface IMovableObjectgetWorldBoundingBox in interface IShadowCasterpublic ISphere getWorldBoundingSphere(boolean derive)
IMovableObject
getWorldBoundingSphere in interface IEntitygetWorldBoundingSphere in interface IMovableObjectpublic IEdgeData getEdgeList()
getEdgeList in interface IEntitygetEdgeList in interface IMovableObjectgetEdgeList in interface IShadowCasterpublic boolean hasEdgeList()
hasEdgeList in interface IEntityhasEdgeList in interface IMovableObjecthasEdgeList in interface IShadowCaster
public void getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue,
ShadowTechnique shadowTechnique,
ILight light,
IHardwareIndexBufferSharedPtr indexBuffer,
boolean extrudeVertices,
float extrusionDistance,
long flags)
getShadowVolumeRenderableIterator in interface IEntitygetShadowVolumeRenderableIterator in interface IMovableObjectgetShadowVolumeRenderableIterator in interface IShadowCasterpublic IMatrix4 _getBoneMatrices()
_getBoneMatrices in interface IEntitypublic int _getNumBoneMatrices()
_getNumBoneMatrices in interface IEntitypublic boolean hasSkeleton()
hasSkeleton in interface IEntitypublic ISkeletonInstance getSkeleton()
getSkeleton in interface IEntitypublic boolean isHardwareAnimationEnabled()
isHardwareAnimationEnabled in interface IEntity
public void _notifyAttached(INode parent,
boolean isTagPoint)
_notifyAttached in interface IEntity_notifyAttached in interface IMovableObjectpublic int getSoftwareAnimationRequests()
getSoftwareAnimationRequests in interface IEntitypublic int getSoftwareAnimationNormalsRequests()
getSoftwareAnimationNormalsRequests in interface IEntitypublic void addSoftwareAnimationRequest(boolean normalsAlso)
addSoftwareAnimationRequest in interface IEntitypublic void removeSoftwareAnimationRequest(boolean normalsAlso)
removeSoftwareAnimationRequest in interface IEntitypublic void shareSkeletonInstanceWith(IEntity entity)
shareSkeletonInstanceWith in interface IEntitypublic boolean hasVertexAnimation()
hasVertexAnimation in interface IEntitypublic void stopSharingSkeletonInstance()
stopSharingSkeletonInstance in interface IEntitypublic boolean sharesSkeletonInstance()
sharesSkeletonInstance in interface IEntitypublic IEntity.IEntitySet getSkeletonInstanceSharingSet()
getSkeletonInstanceSharingSet in interface IEntitypublic void refreshAvailableAnimationState()
refreshAvailableAnimationState in interface IEntitypublic void _updateAnimation()
_updateAnimation in interface IEntitypublic boolean _isAnimated()
_isAnimated in interface IEntitypublic boolean _isSkeletonAnimated()
_isSkeletonAnimated in interface IEntitypublic IVertexData _getSkelAnimVertexData()
_getSkelAnimVertexData in interface IEntitypublic IVertexData _getSoftwareVertexAnimVertexData()
_getSoftwareVertexAnimVertexData in interface IEntitypublic IVertexData _getHardwareVertexAnimVertexData()
_getHardwareVertexAnimVertexData in interface IEntitypublic ITempBlendedBufferInfo _getSkelAnimTempBufferInfo()
_getSkelAnimTempBufferInfo in interface IEntitypublic ITempBlendedBufferInfo _getVertexAnimTempBufferInfo()
_getVertexAnimTempBufferInfo in interface IEntitypublic long getTypeFlags()
IMovableObject
getTypeFlags in interface IEntitygetTypeFlags in interface IMovableObjectpublic IVertexData getVertexDataForBinding()
getVertexDataForBinding in interface IEntitypublic Entity.VertexDataBindChoice chooseVertexDataForBinding(boolean hasVertexAnim)
chooseVertexDataForBinding in interface IEntitypublic boolean _getBuffersMarkedForAnimation()
_getBuffersMarkedForAnimation in interface IEntitypublic void _markBuffersUsedForAnimation()
_markBuffersUsedForAnimation in interface IEntitypublic boolean isInitialised()
isInitialised in interface IEntitypublic void _initialise(boolean forceReinitialise)
_initialise in interface IEntitypublic void _deinitialise()
_deinitialise in interface IEntitypublic void backgroundLoadingComplete(IResource res)
backgroundLoadingComplete in interface IEntity
public void visitRenderables(IRenderable.IVisitor visitor,
boolean debugRenderables)
IMovableObject
visitRenderables in interface IEntityvisitRenderables in interface IMovableObjectpublic void _notifyCreator(IMovableObjectFactory fact)
_notifyCreator in interface IMovableObjectpublic IMovableObjectFactory _getCreator()
_getCreator in interface IMovableObjectpublic void _notifyManager(ISceneManager man)
_notifyManager in interface IMovableObjectpublic ISceneManager _getManager()
_getManager in interface IMovableObjectpublic java.lang.String getName()
getName in interface IMovableObjectpublic INode getParentNode()
getParentNode in interface IMovableObjectpublic ISceneNode getParentSceneNode()
getParentSceneNode in interface IMovableObjectpublic boolean isAttached()
isAttached in interface IMovableObjectpublic void detatchFromParent()
detatchFromParent in interface IMovableObjectpublic boolean isInScene()
isInScene in interface IMovableObjectpublic void _notifyMoved()
_notifyMoved in interface IMovableObjectpublic void setVisible(boolean visible)
setVisible in interface IMovableObjectpublic boolean getVisible()
getVisible in interface IMovableObjectpublic boolean isVisible()
isVisible in interface IMovableObjectpublic void setRenderingDistance(float dist)
setRenderingDistance in interface IMovableObjectpublic float getRenderingDistance()
getRenderingDistance in interface IMovableObjectpublic void setUserObject(IUserDefinedObject obj)
setUserObject in interface IMovableObjectpublic IUserDefinedObject getUserObject()
getUserObject in interface IMovableObjectpublic void setUserAny(IAny anything)
setUserAny in interface IMovableObjectpublic IAny getUserAny()
getUserAny in interface IMovableObjectpublic short getRenderQueueGroup()
getRenderQueueGroup in interface IMovableObjectpublic IMatrix4 _getParentNodeFullTransform()
_getParentNodeFullTransform in interface IMovableObjectpublic void setQueryFlags(long flags)
setQueryFlags in interface IMovableObjectpublic void addQueryFlags(long flags)
addQueryFlags in interface IMovableObjectpublic void removeQueryFlags(long flags)
removeQueryFlags in interface IMovableObjectpublic long getQueryFlags()
getQueryFlags in interface IMovableObjectpublic void setVisibilityFlags(long flags)
setVisibilityFlags in interface IMovableObjectpublic void addVisibilityFlags(long flags)
addVisibilityFlags in interface IMovableObjectpublic void removeVisibilityFlags(long flags)
removeVisibilityFlags in interface IMovableObjectpublic long getVisibilityFlags()
getVisibilityFlags in interface IMovableObjectpublic void setListener(IMovableObject.IListener listener)
setListener in interface IMovableObjectpublic IMovableObject.IListener getListener()
getListener in interface IMovableObjectpublic ILightList queryLights()
queryLights in interface IMovableObjectpublic ILightList _getLightList()
_getLightList in interface IMovableObjectpublic IAxisAlignedBox getLightCapBounds()
getLightCapBounds in interface IMovableObjectgetLightCapBounds in interface IShadowCaster
public IAxisAlignedBox getDarkCapBounds(ILight light,
float dirLightExtrusionDist)
getDarkCapBounds in interface IMovableObjectgetDarkCapBounds in interface IShadowCasterpublic void setCastShadows(boolean enabled)
setCastShadows in interface IMovableObjectpublic boolean getCastShadows()
getCastShadows in interface IMovableObjectgetCastShadows in interface IShadowCasterpublic float getPointExtrusionDistance(ILight l)
getPointExtrusionDistance in interface IMovableObjectgetPointExtrusionDistance in interface IShadowCasterpublic void setDebugDisplayEnabled(boolean enabled)
setDebugDisplayEnabled in interface IMovableObjectpublic boolean isDebugDisplayEnabled()
isDebugDisplayEnabled in interface IMovableObjectpublic static void setDefaultQueryFlags(long flags)
public static long getDefaultQueryFlags()
public static void setDefaultVisibilityFlags(long flags)
public static long getDefaultVisibilityFlags()
public static void extrudeVertices(IHardwareVertexBufferSharedPtr vertexBuffer,
int originalVertexCount,
IVector4 lightPos,
float extrudeDist)
public IStringVector getAnimableValueNames()
getAnimableValueNames in interface IAnimableObject
public void createAnimableValue(IAnimableValuePtr returnValue,
java.lang.String valueName)
createAnimableValue in interface IAnimableObjectpublic void objectDestroyed(IMovableObject a1)
objectDestroyed in interface IMovableObject.IListenerpublic void objectAttached(IMovableObject a1)
objectAttached in interface IMovableObject.IListenerpublic void objectDetached(IMovableObject a1)
objectDetached in interface IMovableObject.IListenerpublic void objectMoved(IMovableObject a1)
objectMoved in interface IMovableObject.IListener
public boolean objectRendering(IMovableObject a1,
ICamera a2)
objectRendering in interface IMovableObject.IListenerpublic ILightList objectQueryLights(IMovableObject a1)
objectQueryLights in interface IMovableObject.IListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||