org.ogre4j
Class InstancedGeometry.BatchInstance

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.InstancedGeometry.BatchInstance
All Implemented Interfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IAnimableObject, IInstancedGeometry.IBatchInstance, IMovableObject, ISceneObjAllocatedObject, IShadowCaster, INativeObject
Enclosing class:
InstancedGeometry

public static class InstancedGeometry.BatchInstance
extends NativeObject
implements IInstancedGeometry.IBatchInstance


Nested Class Summary
static class InstancedGeometry.BatchInstance.InstancedObjectIterator
           
static class InstancedGeometry.BatchInstance.LODBucketList
           
static class InstancedGeometry.BatchInstance.LODIterator
           
static class InstancedGeometry.BatchInstance.ObjectsMap
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IInstancedGeometry.IBatchInstance
IInstancedGeometry.IBatchInstance.IInstancedObjectIterator, IInstancedGeometry.IBatchInstance.ILODBucketList, IInstancedGeometry.IBatchInstance.ILODIterator, IInstancedGeometry.IBatchInstance.IObjectsMap
 
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
  InstancedGeometry.BatchInstance(IInstancedGeometry parent, java.lang.String name, ISceneManager mgr, long BatchInstanceID)
           
  InstancedGeometry.BatchInstance(InstancePointer p)
          This constructor is public for internal useage only!
protected InstancedGeometry.BatchInstance(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  InstancedGeometry.BatchInstance(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 IMovableObjectFactory _getCreator()
          Get the creator of this object, if any (internal use only)
 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)
 IMatrix4 _getParentNodeFullTransform()
           
 void _notifyAttached(INode parent, boolean isTagPoint)
          Internal method called to notify the object that it has been attached to a node.
 void _notifyCreator(IMovableObjectFactory fact)
          Notify the object of it's creator (internal use only)
 void _notifyCurrentCamera(ICamera cam)
          Internal method to notify the object of the camera to be used for the next rendering operation.
 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 _updateRenderQueue(IRenderQueue queue)
          Internal method by which the movable object must add subclass instances to the rendering queue.
 void addInstancedObject(int index, IInstancedGeometry.IInstancedObject object)
           
 void addQueryFlags(long flags)
          As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.
 void addVisibilityFlags(long flags)
          As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
 void assign(IInstancedGeometry.IQueuedSubMesh qmesh)
           
 void attachToScene()
           
 void build()
           
 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 detatchFromParent()
          Detaches an object from a parent or , if attached.
 void dump(Iofstream of)
           
static void extrudeVertices(IHardwareVertexBufferSharedPtr vertexBuffer, int originalVertexCount, IVector4 lightPos, float extrudeDist)
          Utility method for extruding vertices based on a light.
 void finalize()
           
 IStringVector getAnimableValueNames()
          Gets a list of animable value names for this object.
 IAxisAlignedBox getBoundingBox()
          Retrieves the local axis-aligned bounding box for this object.
 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.
 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.
 IEdgeData getEdgeList()
          Returns details of the edges which might be used to determine a silhouette.
 long getID()
           
 IInstancedGeometry.IBatchInstance.IObjectsMap getInstancesMap()
           
 IAxisAlignedBox getLightCapBounds()
          Overridden member from .
 ILightList getLights()
           
 IMovableObject.IListener getListener()
          Gets the current listener for this object.
 void getLODIterator(IInstancedGeometry.IBatchInstance.ILODIterator returnValue)
           
 void getmAABB(IAxisAlignedBox returnValue)
           
 float getmBoundingRadius()
           
 float getmCamDistanceSquared()
           
 int getmCurrentLod()
           
 void getmLodSquaredDistances(Ivector<java.lang.Float> returnValue)
           
 java.lang.String getMovableType()
          Returns the type name of this object.
 java.lang.String getName()
          Returns the name of this object.
 void getObjectIterator(IInstancedGeometry.IBatchInstance.IInstancedObjectIterator returnValue)
           
 IInstancedGeometry getParent()
           
 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.
 ISceneNode getSceneNode()
           
 void getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue, ShadowTechnique shadowTechnique, ILight light, IHardwareIndexBufferSharedPtr indexBuffer, boolean extrudeVertices, float extrusionDist, long flags)
          Gets an iterator over the renderables required to render the shadow volume.
 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.
 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()
          Returns whether the object has a valid edge list.
 boolean isAttached()
          Returns true if this object is attached to a or .
 boolean isDebugDisplayEnabled()
           
 boolean isInScene()
          Returns true if this object is attached to a or , and this / is currently in an active part of the scene graph.
 IInstancedGeometry.IInstancedObject isInstancedObjectPresent(int index)
           
 boolean isVisible()
          Returns whether or not this object is supposed to be visible or not.
 ILightList queryLights()
          Gets a list of lights, ordered relative to how close they are to this movable object.
 void removeQueryFlags(long flags)
          As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.
 void removeVisibilityFlags(long flags)
          As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
 void setBoundingBox(IAxisAlignedBox box)
           
 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 setListener(IMovableObject.IListener listener)
          Sets a listener for this object.
 void setmAABB(IAxisAlignedBox _jni_value_)
           
 void setmBoundingRadius(float _jni_value_)
           
 void setmCamDistanceSquared(float _jni_value_)
           
 void setmCurrentLod(int _jni_value_)
           
 void setmLodSquaredDistances(Ivector<java.lang.Float> _jni_value_)
           
 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 updateBoundingBox()
           
 void updateContainers(IInstancedGeometry.ILODBucket bucket)
           
 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

InstancedGeometry.BatchInstance

public InstancedGeometry.BatchInstance(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


InstancedGeometry.BatchInstance

protected InstancedGeometry.BatchInstance(InstancePointer p,
                                          boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


InstancedGeometry.BatchInstance

public InstancedGeometry.BatchInstance(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

InstancedGeometry.BatchInstance

public InstancedGeometry.BatchInstance(IInstancedGeometry parent,
                                       java.lang.String name,
                                       ISceneManager mgr,
                                       long BatchInstanceID)
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

getParent

public IInstancedGeometry getParent()
Specified by:
getParent in interface IInstancedGeometry.IBatchInstance

assign

public void assign(IInstancedGeometry.IQueuedSubMesh qmesh)
Specified by:
assign in interface IInstancedGeometry.IBatchInstance

build

public void build()
Specified by:
build in interface IInstancedGeometry.IBatchInstance

getID

public long getID()
Specified by:
getID in interface IInstancedGeometry.IBatchInstance

getMovableType

public java.lang.String getMovableType()
Description copied from interface: IMovableObject
Returns the type name of this object.

Specified by:
getMovableType in interface IInstancedGeometry.IBatchInstance
Specified by:
getMovableType in interface IMovableObject

_notifyCurrentCamera

public void _notifyCurrentCamera(ICamera cam)
Description copied from interface: IMovableObject
Internal method to notify the object of the camera to be used for the next rendering operation.

Specified by:
_notifyCurrentCamera in interface IInstancedGeometry.IBatchInstance
Specified by:
_notifyCurrentCamera in interface IMovableObject

getBoundingBox

public IAxisAlignedBox getBoundingBox()
Description copied from interface: IMovableObject
Retrieves the local axis-aligned bounding box for this object.

Specified by:
getBoundingBox in interface IInstancedGeometry.IBatchInstance
Specified by:
getBoundingBox in interface IMovableObject

setBoundingBox

public void setBoundingBox(IAxisAlignedBox box)
Specified by:
setBoundingBox in interface IInstancedGeometry.IBatchInstance

getBoundingRadius

public float getBoundingRadius()
Description copied from interface: IMovableObject
Retrieves the radius of the origin-centered bounding sphere for this object.

Specified by:
getBoundingRadius in interface IInstancedGeometry.IBatchInstance
Specified by:
getBoundingRadius in interface IMovableObject

_updateRenderQueue

public void _updateRenderQueue(IRenderQueue queue)
Description copied from interface: IMovableObject
Internal method by which the movable object must add subclass instances to the rendering queue.

Specified by:
_updateRenderQueue in interface IInstancedGeometry.IBatchInstance
Specified by:
_updateRenderQueue in interface IMovableObject

isVisible

public boolean isVisible()
Description copied from interface: IMovableObject
Returns whether or not this object is supposed to be visible or not.

Specified by:
isVisible in interface IInstancedGeometry.IBatchInstance
Specified by:
isVisible in interface IMovableObject

visitRenderables

public void visitRenderables(IRenderable.IVisitor visitor,
                             boolean debugRenderables)
Description copied from interface: IMovableObject
Method to allow a caller to abstractly iterate over the instances that this will add to the render queue when asked, if any.

Specified by:
visitRenderables in interface IInstancedGeometry.IBatchInstance
Specified by:
visitRenderables in interface IMovableObject

getLODIterator

public void getLODIterator(IInstancedGeometry.IBatchInstance.ILODIterator returnValue)
Specified by:
getLODIterator in interface IInstancedGeometry.IBatchInstance

getLights

public ILightList getLights()
Specified by:
getLights in interface IInstancedGeometry.IBatchInstance

updateBoundingBox

public void updateBoundingBox()
Specified by:
updateBoundingBox in interface IInstancedGeometry.IBatchInstance

dump

public void dump(Iofstream of)
Specified by:
dump in interface IInstancedGeometry.IBatchInstance

updateContainers

public void updateContainers(IInstancedGeometry.ILODBucket bucket)
Specified by:
updateContainers in interface IInstancedGeometry.IBatchInstance

attachToScene

public void attachToScene()
Specified by:
attachToScene in interface IInstancedGeometry.IBatchInstance

addInstancedObject

public void addInstancedObject(int index,
                               IInstancedGeometry.IInstancedObject object)
Specified by:
addInstancedObject in interface IInstancedGeometry.IBatchInstance

isInstancedObjectPresent

public IInstancedGeometry.IInstancedObject isInstancedObjectPresent(int index)
Specified by:
isInstancedObjectPresent in interface IInstancedGeometry.IBatchInstance

getObjectIterator

public void getObjectIterator(IInstancedGeometry.IBatchInstance.IInstancedObjectIterator returnValue)
Specified by:
getObjectIterator in interface IInstancedGeometry.IBatchInstance

getSceneNode

public ISceneNode getSceneNode()
Specified by:
getSceneNode in interface IInstancedGeometry.IBatchInstance

getInstancesMap

public IInstancedGeometry.IBatchInstance.IObjectsMap getInstancesMap()
Specified by:
getInstancesMap in interface IInstancedGeometry.IBatchInstance

_notifyCreator

public void _notifyCreator(IMovableObjectFactory fact)
Notify the object of it's creator (internal use only)

Specified by:
_notifyCreator in interface IMovableObject

_getCreator

public IMovableObjectFactory _getCreator()
Get the creator of this object, if any (internal use only)

Specified by:
_getCreator in interface IMovableObject

_notifyManager

public void _notifyManager(ISceneManager man)
Notify the object of it's manager (internal use only)

Specified by:
_notifyManager in interface IMovableObject

_getManager

public ISceneManager _getManager()
Get the manager of this object, if any (internal use only)

Specified by:
_getManager in interface IMovableObject

getName

public java.lang.String getName()
Returns the name of this object.

Specified by:
getName in interface IMovableObject

getParentNode

public INode getParentNode()
Returns the node to which this object is attached.

Specified by:
getParentNode in interface IMovableObject

getParentSceneNode

public ISceneNode getParentSceneNode()
Returns the scene node to which this object is attached.

Specified by:
getParentSceneNode in interface IMovableObject

_notifyAttached

public void _notifyAttached(INode parent,
                            boolean isTagPoint)
Internal method called to notify the object that it has been attached to a node.

Specified by:
_notifyAttached in interface IMovableObject

isAttached

public boolean isAttached()
Returns true if this object is attached to a or .

Specified by:
isAttached in interface IMovableObject

detatchFromParent

public void detatchFromParent()
Detaches an object from a parent or , if attached.

Specified by:
detatchFromParent in interface IMovableObject

isInScene

public boolean isInScene()
Returns true if this object is attached to a or , and this / is currently in an active part of the scene graph.

Specified by:
isInScene in interface IMovableObject

_notifyMoved

public void _notifyMoved()
Internal method called to notify the object that it has been moved.

Specified by:
_notifyMoved in interface IMovableObject

getWorldBoundingBox

public IAxisAlignedBox getWorldBoundingBox(boolean derive)
Retrieves the axis-aligned bounding box for this object in world coordinates.

Specified by:
getWorldBoundingBox in interface IMovableObject
Specified by:
getWorldBoundingBox in interface IShadowCaster

getWorldBoundingSphere

public ISphere getWorldBoundingSphere(boolean derive)
Retrieves the worldspace bounding sphere for this object.

Specified by:
getWorldBoundingSphere in interface IMovableObject

setVisible

public void setVisible(boolean visible)
Tells this object whether to be visible or not, if it has a renderable component.

Specified by:
setVisible in interface IMovableObject

getVisible

public boolean getVisible()
Gets this object whether to be visible or not, if it has a renderable component.

Specified by:
getVisible in interface IMovableObject

setRenderingDistance

public void setRenderingDistance(float dist)
Sets the distance at which the object is no longer rendered.

Specified by:
setRenderingDistance in interface IMovableObject

getRenderingDistance

public float getRenderingDistance()
Gets the distance at which batches are no longer rendered.

Specified by:
getRenderingDistance in interface IMovableObject

setUserObject

public void setUserObject(IUserDefinedObject obj)
Call this to associate your own custom user object instance with this .

Specified by:
setUserObject in interface IMovableObject

getUserObject

public IUserDefinedObject getUserObject()
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.

Specified by:
getUserObject in interface IMovableObject

setUserAny

public void setUserAny(IAny anything)
Sets any kind of user value on this object.

Specified by:
setUserAny in interface IMovableObject

getUserAny

public IAny getUserAny()
Retrieves the custom user value associated with this object.

Specified by:
getUserAny in interface IMovableObject

setRenderQueueGroup

public void setRenderQueueGroup(short queueID)
Sets the render queue group this entity will be rendered through.

Specified by:
setRenderQueueGroup in interface IMovableObject

getRenderQueueGroup

public short getRenderQueueGroup()
Gets the queue group for this entity, see setRenderQueueGroup for full details.

Specified by:
getRenderQueueGroup in interface IMovableObject

_getParentNodeFullTransform

public IMatrix4 _getParentNodeFullTransform()
Specified by:
_getParentNodeFullTransform in interface IMovableObject

setQueryFlags

public void setQueryFlags(long flags)
Sets the query flags for this object.

Specified by:
setQueryFlags in interface IMovableObject

addQueryFlags

public void addQueryFlags(long flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.

Specified by:
addQueryFlags in interface IMovableObject

removeQueryFlags

public void removeQueryFlags(long flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.

Specified by:
removeQueryFlags in interface IMovableObject

getQueryFlags

public long getQueryFlags()
Specified by:
getQueryFlags in interface IMovableObject

setVisibilityFlags

public void setVisibilityFlags(long flags)
Sets the visiblity flags for this object.

Specified by:
setVisibilityFlags in interface IMovableObject

addVisibilityFlags

public void addVisibilityFlags(long flags)
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.

Specified by:
addVisibilityFlags in interface IMovableObject

removeVisibilityFlags

public void removeVisibilityFlags(long flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.

Specified by:
removeVisibilityFlags in interface IMovableObject

getVisibilityFlags

public long getVisibilityFlags()
Specified by:
getVisibilityFlags in interface IMovableObject

setListener

public void setListener(IMovableObject.IListener listener)
Sets a listener for this object.

Specified by:
setListener in interface IMovableObject

getListener

public IMovableObject.IListener getListener()
Gets the current listener for this object.

Specified by:
getListener in interface IMovableObject

queryLights

public ILightList queryLights()
Gets a list of lights, ordered relative to how close they are to this movable object.

Specified by:
queryLights in interface IMovableObject

_getLightList

public ILightList _getLightList()
Returns a pointer to the current list of lights for this object.

Specified by:
_getLightList in interface IMovableObject

getEdgeList

public IEdgeData getEdgeList()
Description copied from interface: IShadowCaster
Returns details of the edges which might be used to determine a silhouette.

Specified by:
getEdgeList in interface IMovableObject
Specified by:
getEdgeList in interface IShadowCaster

hasEdgeList

public boolean hasEdgeList()
Description copied from interface: IShadowCaster
Returns whether the object has a valid edge list.

Specified by:
hasEdgeList in interface IMovableObject
Specified by:
hasEdgeList in interface IShadowCaster

getShadowVolumeRenderableIterator

public void getShadowVolumeRenderableIterator(IShadowCaster.IShadowRenderableListIterator returnValue,
                                              ShadowTechnique shadowTechnique,
                                              ILight light,
                                              IHardwareIndexBufferSharedPtr indexBuffer,
                                              boolean extrudeVertices,
                                              float extrusionDist,
                                              long flags)
Description copied from interface: IShadowCaster
Gets an iterator over the renderables required to render the shadow volume.

Specified by:
getShadowVolumeRenderableIterator in interface IMovableObject
Specified by:
getShadowVolumeRenderableIterator in interface IShadowCaster

getLightCapBounds

public IAxisAlignedBox getLightCapBounds()
Overridden member from .

Specified by:
getLightCapBounds in interface IMovableObject
Specified by:
getLightCapBounds in interface IShadowCaster

getDarkCapBounds

public IAxisAlignedBox getDarkCapBounds(ILight light,
                                        float dirLightExtrusionDist)
Overridden member from .

Specified by:
getDarkCapBounds in interface IMovableObject
Specified by:
getDarkCapBounds in interface IShadowCaster

setCastShadows

public void setCastShadows(boolean enabled)
Sets whether or not this object will cast shadows.

Specified by:
setCastShadows in interface IMovableObject

getCastShadows

public boolean getCastShadows()
Returns whether shadow casting is enabled for this object.

Specified by:
getCastShadows in interface IMovableObject
Specified by:
getCastShadows in interface IShadowCaster

getPointExtrusionDistance

public float getPointExtrusionDistance(ILight l)
Get the distance to extrude for a point/spot light

Specified by:
getPointExtrusionDistance in interface IMovableObject
Specified by:
getPointExtrusionDistance in interface IShadowCaster

getTypeFlags

public long getTypeFlags()
Get the 'type flags' for this .

Specified by:
getTypeFlags in interface IMovableObject

setDebugDisplayEnabled

public void setDebugDisplayEnabled(boolean enabled)
Sets whether or not the debug display of this object is enabled.

Specified by:
setDebugDisplayEnabled in interface IMovableObject

isDebugDisplayEnabled

public boolean isDebugDisplayEnabled()
Specified by:
isDebugDisplayEnabled in interface IMovableObject

setDefaultQueryFlags

public static void setDefaultQueryFlags(long flags)
Set the default query flags for all future instances.


getDefaultQueryFlags

public static long getDefaultQueryFlags()
Get the default query flags for all future instances.


setDefaultVisibilityFlags

public static void setDefaultVisibilityFlags(long flags)
Set the default visibility flags for all future instances.


getDefaultVisibilityFlags

public static long getDefaultVisibilityFlags()
Get the default visibility flags for all future instances.


extrudeVertices

public static void extrudeVertices(IHardwareVertexBufferSharedPtr vertexBuffer,
                                   int originalVertexCount,
                                   IVector4 lightPos,
                                   float extrudeDist)
Utility method for extruding vertices based on a light.


getAnimableValueNames

public IStringVector getAnimableValueNames()
Gets a list of animable value names for this object.

Specified by:
getAnimableValueNames in interface IAnimableObject

createAnimableValue

public void createAnimableValue(IAnimableValuePtr returnValue,
                                java.lang.String valueName)
Create a reference-counted AnimableValuePtr for the named value.

Specified by:
createAnimableValue in interface IAnimableObject

getmLodSquaredDistances

public void getmLodSquaredDistances(Ivector<java.lang.Float> returnValue)
Specified by:
getmLodSquaredDistances in interface IInstancedGeometry.IBatchInstance

setmLodSquaredDistances

public void setmLodSquaredDistances(Ivector<java.lang.Float> _jni_value_)
Specified by:
setmLodSquaredDistances in interface IInstancedGeometry.IBatchInstance

getmAABB

public void getmAABB(IAxisAlignedBox returnValue)
Specified by:
getmAABB in interface IInstancedGeometry.IBatchInstance

setmAABB

public void setmAABB(IAxisAlignedBox _jni_value_)
Specified by:
setmAABB in interface IInstancedGeometry.IBatchInstance

getmBoundingRadius

public float getmBoundingRadius()
Specified by:
getmBoundingRadius in interface IInstancedGeometry.IBatchInstance

setmBoundingRadius

public void setmBoundingRadius(float _jni_value_)
Specified by:
setmBoundingRadius in interface IInstancedGeometry.IBatchInstance

getmCurrentLod

public int getmCurrentLod()
Specified by:
getmCurrentLod in interface IInstancedGeometry.IBatchInstance

setmCurrentLod

public void setmCurrentLod(int _jni_value_)
Specified by:
setmCurrentLod in interface IInstancedGeometry.IBatchInstance

getmCamDistanceSquared

public float getmCamDistanceSquared()
Specified by:
getmCamDistanceSquared in interface IInstancedGeometry.IBatchInstance

setmCamDistanceSquared

public void setmCamDistanceSquared(float _jni_value_)
Specified by:
setmCamDistanceSquared in interface IInstancedGeometry.IBatchInstance


Copyright © 2007 netAllied GmbH. All Rights Reserved.