org.ogre4j
Class Bone

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.Bone
All Implemented Interfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IBone, INode, IRenderable, ISceneCtlAllocatedObject, INativeObject

public class Bone
extends NativeObject
implements IBone


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.INode
INode.IChildNodeIterator, INode.IChildNodeMap, INode.IChildUpdateSet, INode.IConstChildNodeIterator, INode.IListener, INode.IQueuedUpdates
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderable
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  Bone(InstancePointer p)
          This constructor is public for internal useage only!
protected Bone(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  Bone(int handle, ISkeleton creator)
          Constructor, not to be used directly (use or )
  Bone(java.lang.String name, int handle, ISkeleton creator)
          Constructor, not to be used directly (use or )
  Bone(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 IQuaternion _getBindingPoseInverseOrientation()
          Gets the inverted binding pose orientation.
 IVector3 _getBindingPoseInversePosition()
          Gets the inverted binding pose position.
 IVector3 _getBindingPoseInverseScale()
          Gets the inverted binding pose scale.
 IQuaternion _getDerivedOrientation()
          Gets the orientation of the node as derived from all parents.
 IVector3 _getDerivedPosition()
          Gets the position of the node as derived from all parents.
 IVector3 _getDerivedScale()
          Gets the scaling factor of the node as derived from all parents.
 IMatrix4 _getFullTransform()
          Gets the full transformation matrix for this node.
 void _getOffsetTransform(IMatrix4 m)
          Gets the transform which takes bone space to current from the binding pose.
 void _update(boolean updateChildren, boolean parentHasChanged)
          Internal method to update the .
 void _updateCustomGpuParameter(IGpuProgramParameters.IAutoConstantEntry constantEntry, IGpuProgramParameters params)
          Update a custom constant which is derived from information only this knows.
 void addChild(INode child)
          Adds a (precreated) child scene node to this node.
 void cancelUpdate(INode child)
          Called by children to notify their parent that they no longer need an update.
 IBone createChild(int handle, IVector3 translate, IQuaternion rotate)
          Creates a new as a child of this bone.
 INode createChild(IVector3 translate, IQuaternion rotate)
          Creates an unnamed new as a child of this node.
 INode createChild(java.lang.String name, IVector3 translate, IQuaternion rotate)
          Creates a new named as a child of this node.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 boolean getCastsShadows()
          Method which reports whether this renderable would normally cast a shadow.
 INode getChild(int index)
          Gets a pointer to a child node.
 INode getChild(java.lang.String name)
          Gets a pointer to a named child node.
 void getChildIterator_const(INode.IConstChildNodeIterator returnValue)
           
 void getChildIterator(INode.IChildNodeIterator returnValue)
          Retrieves an iterator for efficiently looping through all children of this node.
 IVector4 getCustomParameter(int index)
          Gets the custom value associated with this at the given index.
 int getHandle()
          Gets the numeric handle for this bone (unique within the skeleton).
 boolean getInheritOrientation()
          Returns true if this node is affected by orientation applied to the parent node.
 boolean getInheritScale()
          Returns true if this node is affected by scaling factors applied to the parent node.
 IQuaternion getInitialOrientation()
          Gets the initial orientation of this node, see setInitialState for more info.
 IVector3 getInitialPosition()
          Gets the initial position of this node, see setInitialState for more info.
 IVector3 getInitialScale()
          Gets the initial position of this node, see setInitialState for more info.
 ILightList getLights()
          Gets a list of lights, ordered relative to how close they are to this renderable.
 INode.IListener getListener()
          Gets the current listener for this .
 void getLocalAxes(IMatrix3 returnValue)
          Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent.
 IMaterialPtr getMaterial()
          Overridden from .
 java.lang.String getName()
          Returns the name of the node.
 int getNumWorldTransforms()
          Returns the number of world transform matrices this renderable requires.
 IQuaternion getOrientation()
          Returns a quaternion representing the nodes orientation.
 INode getParent()
          Gets this node's parent (NULL if this is the root).
 boolean getPolygonModeOverrideable()
          Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
 IVector3 getPosition()
          Gets the position of the node relative to it's parent.
 void getRenderOperation(IRenderOperation op)
          Overridden from .
 IRenderable.IRenderSystemData getRenderSystemData()
          Sets render system private data
 IVector3 getScale()
          Gets the scaling factor of this node.
 float getSquaredViewDepth(ICamera cam)
          Overridden, see
 ITechnique getTechnique()
          Retrieves a pointer to the this renderable object uses.
 boolean getUseIdentityProjection()
          Returns whether or not to use an 'identity' projection.
 boolean getUseIdentityView()
          Returns whether or not to use an 'identity' view.
 IAny getUserAny()
          Retrieves the custom user value associated with this object.
 void getWorldTransforms(IMatrix4 xform)
          Overridden from .
 boolean isManuallyControlled()
          Getter for mManuallyControlled Flag
 void needUpdate(boolean forceParentUpdate)
          To be called in the event of transform changes to this node that require it's recalculation.
 int numChildren()
          Reports the number of child nodes under this one.
 void pitch(IRadian angle, Node.TransformSpace relativeTo)
          Rotate the node around the X-axis.
 void postRender(ISceneManager sm, IRenderSystem rsys)
          Called immediately after the has been rendered.
 boolean preRender(ISceneManager sm, IRenderSystem rsys)
          Called just prior to the being rendered.
static void processQueuedUpdates()
          Process queued 'needUpdate' calls.
static void queueNeedUpdate(INode n)
          Queue a 'needUpdate' call to a node safely.
 void removeAllChildren()
          Removes all child Nodes attached to this node.
 INode removeChild(INode child)
          Drops the specified child from this node.
 INode removeChild(int index)
          Drops the specified child from this node.
 INode removeChild(java.lang.String name)
          Drops the named child from this node.
 void requestUpdate(INode child, boolean forceParentUpdate)
          Called by children to notify their parent that they need an update.
 void reset()
          Resets the position and orientation of this to the original binding position.
 void resetOrientation()
          Resets the nodes orientation (local axes as world axes, no rotation).
 void resetToInitialState()
          Resets the position / orientation / scale of this node to it's initial state, see setInitialState for more info.
 void roll(IRadian angle, Node.TransformSpace relativeTo)
          Rotate the node around the Z-axis.
 void rotate(IQuaternion q, Node.TransformSpace relativeTo)
          Rotate the node around an aritrary axis using a Quarternion.
 void rotate(IVector3 axis, IRadian angle, Node.TransformSpace relativeTo)
          Rotate the node around an arbitrary axis.
 void scale(float x, float y, float z)
          Scales the node, combining it's current scale with the passed in scaling factor.
 void scale(IVector3 scale)
          Scales the node, combining it's current scale with the passed in scaling factor.
 void setBindingPose()
          Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were originally bound to a mesh.
 void setCustomParameter(int index, IVector4 value)
          Sets a custom parameter for this , which may be used to drive calculations for this specific , like GPU program parameters.
 void setInheritOrientation(boolean inherit)
          Tells the node whether it should inherit orientation from it's parent node.
 void setInheritScale(boolean inherit)
          Tells the node whether it should inherit scaling factors from it's parent node.
 void setInitialState()
          Sets the current transform of this node to be the 'initial state' ie that position / orientation / scale to be used as a basis for delta values used in keyframe animation.
 void setListener(INode.IListener listener)
          Sets a listener for this .
 void setManuallyControlled(boolean manuallyControlled)
          Sets whether or not this bone is manually controlled.
 void setOrientation(float w, float x, float y, float z)
          Sets the orientation of this node via quaternion parameters.
 void setOrientation(IQuaternion q)
          Sets the orientation of this node via a quaternion.
 void setPolygonModeOverrideable(boolean override)
          Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
 void setPosition(float x, float y, float z)
          Sets the position of the node relative to it's parent.
 void setPosition(IVector3 pos)
          Sets the position of the node relative to it's parent.
 void setRenderSystemData(IRenderable.IRenderSystemData val)
          gets render system private data
 void setScale(float x, float y, float z)
          Sets the scaling factor applied to this node.
 void setScale(IVector3 scale)
          Sets the scaling factor applied to this node.
 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 setUserAny(IAny anything)
          Sets any kind of user value on this object.
 void translate(float x, float y, float z, Node.TransformSpace relativeTo)
          Moves the node along the Cartesian axes.
 void translate(IMatrix3 axes, float x, float y, float z, Node.TransformSpace relativeTo)
          Moves the node along arbitrary axes.
 void translate(IMatrix3 axes, IVector3 move, Node.TransformSpace relativeTo)
          Moves the node along arbitrary axes.
 void translate(IVector3 d, Node.TransformSpace relativeTo)
          Moves the node along the Cartesian axes.
 void yaw(IRadian angle, Node.TransformSpace relativeTo)
          Rotate the node around the Y-axis.
 
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

Bone

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


Bone

protected Bone(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.


Bone

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

Bone

public Bone(int handle,
            ISkeleton creator)
Constructor, not to be used directly (use or )


Bone

public Bone(java.lang.String name,
            int handle,
            ISkeleton creator)
Constructor, not to be used directly (use or )

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

createChild

public IBone createChild(int handle,
                         IVector3 translate,
                         IQuaternion rotate)
Creates a new as a child of this bone.

Specified by:
createChild in interface IBone

getHandle

public int getHandle()
Gets the numeric handle for this bone (unique within the skeleton).

Specified by:
getHandle in interface IBone

setBindingPose

public void setBindingPose()
Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were originally bound to a mesh.

Specified by:
setBindingPose in interface IBone

reset

public void reset()
Resets the position and orientation of this to the original binding position.

Specified by:
reset in interface IBone

setManuallyControlled

public void setManuallyControlled(boolean manuallyControlled)
Sets whether or not this bone is manually controlled.

Specified by:
setManuallyControlled in interface IBone

isManuallyControlled

public boolean isManuallyControlled()
Getter for mManuallyControlled Flag

Specified by:
isManuallyControlled in interface IBone

_getOffsetTransform

public void _getOffsetTransform(IMatrix4 m)
Gets the transform which takes bone space to current from the binding pose.

Specified by:
_getOffsetTransform in interface IBone

_getBindingPoseInverseScale

public IVector3 _getBindingPoseInverseScale()
Gets the inverted binding pose scale.

Specified by:
_getBindingPoseInverseScale in interface IBone

_getBindingPoseInversePosition

public IVector3 _getBindingPoseInversePosition()
Gets the inverted binding pose position.

Specified by:
_getBindingPoseInversePosition in interface IBone

_getBindingPoseInverseOrientation

public IQuaternion _getBindingPoseInverseOrientation()
Gets the inverted binding pose orientation.

Specified by:
_getBindingPoseInverseOrientation in interface IBone

needUpdate

public void needUpdate(boolean forceParentUpdate)
Description copied from interface: INode
To be called in the event of transform changes to this node that require it's recalculation.

Specified by:
needUpdate in interface IBone
Specified by:
needUpdate in interface INode

getName

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

Specified by:
getName in interface INode

getParent

public INode getParent()
Gets this node's parent (NULL if this is the root).

Specified by:
getParent in interface INode

getOrientation

public IQuaternion getOrientation()
Returns a quaternion representing the nodes orientation.

Specified by:
getOrientation in interface INode

setOrientation

public void setOrientation(IQuaternion q)
Sets the orientation of this node via a quaternion.

Specified by:
setOrientation in interface INode

setOrientation

public void setOrientation(float w,
                           float x,
                           float y,
                           float z)
Sets the orientation of this node via quaternion parameters.

Specified by:
setOrientation in interface INode

resetOrientation

public void resetOrientation()
Resets the nodes orientation (local axes as world axes, no rotation).

Specified by:
resetOrientation in interface INode

setPosition

public void setPosition(IVector3 pos)
Sets the position of the node relative to it's parent.

Specified by:
setPosition in interface INode

setPosition

public void setPosition(float x,
                        float y,
                        float z)
Sets the position of the node relative to it's parent.

Specified by:
setPosition in interface INode

getPosition

public IVector3 getPosition()
Gets the position of the node relative to it's parent.

Specified by:
getPosition in interface INode

setScale

public void setScale(IVector3 scale)
Sets the scaling factor applied to this node.

Specified by:
setScale in interface INode

setScale

public void setScale(float x,
                     float y,
                     float z)
Sets the scaling factor applied to this node.

Specified by:
setScale in interface INode

getScale

public IVector3 getScale()
Gets the scaling factor of this node.

Specified by:
getScale in interface INode

setInheritOrientation

public void setInheritOrientation(boolean inherit)
Tells the node whether it should inherit orientation from it's parent node.

Specified by:
setInheritOrientation in interface INode

getInheritOrientation

public boolean getInheritOrientation()
Returns true if this node is affected by orientation applied to the parent node.

Specified by:
getInheritOrientation in interface INode

setInheritScale

public void setInheritScale(boolean inherit)
Tells the node whether it should inherit scaling factors from it's parent node.

Specified by:
setInheritScale in interface INode

getInheritScale

public boolean getInheritScale()
Returns true if this node is affected by scaling factors applied to the parent node.

Specified by:
getInheritScale in interface INode

scale

public void scale(IVector3 scale)
Scales the node, combining it's current scale with the passed in scaling factor.

Specified by:
scale in interface INode

scale

public void scale(float x,
                  float y,
                  float z)
Scales the node, combining it's current scale with the passed in scaling factor.

Specified by:
scale in interface INode

translate

public void translate(IVector3 d,
                      Node.TransformSpace relativeTo)
Moves the node along the Cartesian axes.

Specified by:
translate in interface INode

translate

public void translate(float x,
                      float y,
                      float z,
                      Node.TransformSpace relativeTo)
Moves the node along the Cartesian axes.

Specified by:
translate in interface INode

translate

public void translate(IMatrix3 axes,
                      IVector3 move,
                      Node.TransformSpace relativeTo)
Moves the node along arbitrary axes.

Specified by:
translate in interface INode

translate

public void translate(IMatrix3 axes,
                      float x,
                      float y,
                      float z,
                      Node.TransformSpace relativeTo)
Moves the node along arbitrary axes.

Specified by:
translate in interface INode

roll

public void roll(IRadian angle,
                 Node.TransformSpace relativeTo)
Rotate the node around the Z-axis.

Specified by:
roll in interface INode

pitch

public void pitch(IRadian angle,
                  Node.TransformSpace relativeTo)
Rotate the node around the X-axis.

Specified by:
pitch in interface INode

yaw

public void yaw(IRadian angle,
                Node.TransformSpace relativeTo)
Rotate the node around the Y-axis.

Specified by:
yaw in interface INode

rotate

public void rotate(IVector3 axis,
                   IRadian angle,
                   Node.TransformSpace relativeTo)
Rotate the node around an arbitrary axis.

Specified by:
rotate in interface INode

rotate

public void rotate(IQuaternion q,
                   Node.TransformSpace relativeTo)
Rotate the node around an aritrary axis using a Quarternion.

Specified by:
rotate in interface INode

getLocalAxes

public void getLocalAxes(IMatrix3 returnValue)
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent.

Specified by:
getLocalAxes in interface INode

createChild

public INode createChild(IVector3 translate,
                         IQuaternion rotate)
Creates an unnamed new as a child of this node.

Specified by:
createChild in interface INode

createChild

public INode createChild(java.lang.String name,
                         IVector3 translate,
                         IQuaternion rotate)
Creates a new named as a child of this node.

Specified by:
createChild in interface INode

addChild

public void addChild(INode child)
Adds a (precreated) child scene node to this node. If it is attached to another node, it must be detached first.

Specified by:
addChild in interface INode

numChildren

public int numChildren()
Reports the number of child nodes under this one.

Specified by:
numChildren in interface INode

getChild

public INode getChild(int index)
Gets a pointer to a child node.

Specified by:
getChild in interface INode

getChild

public INode getChild(java.lang.String name)
Gets a pointer to a named child node.

Specified by:
getChild in interface INode

getChildIterator

public void getChildIterator(INode.IChildNodeIterator returnValue)
Retrieves an iterator for efficiently looping through all children of this node.

Specified by:
getChildIterator in interface INode

getChildIterator_const

public void getChildIterator_const(INode.IConstChildNodeIterator returnValue)
Specified by:
getChildIterator_const in interface INode

removeChild

public INode removeChild(int index)
Drops the specified child from this node.

Specified by:
removeChild in interface INode

removeChild

public INode removeChild(INode child)
Drops the specified child from this node.

Specified by:
removeChild in interface INode

removeChild

public INode removeChild(java.lang.String name)
Drops the named child from this node.

Specified by:
removeChild in interface INode

removeAllChildren

public void removeAllChildren()
Removes all child Nodes attached to this node. Does not delete the nodes, just detaches them from this parent, potentially to be reattached elsewhere.

Specified by:
removeAllChildren in interface INode

_getDerivedOrientation

public IQuaternion _getDerivedOrientation()
Gets the orientation of the node as derived from all parents.

Specified by:
_getDerivedOrientation in interface INode

_getDerivedPosition

public IVector3 _getDerivedPosition()
Gets the position of the node as derived from all parents.

Specified by:
_getDerivedPosition in interface INode

_getDerivedScale

public IVector3 _getDerivedScale()
Gets the scaling factor of the node as derived from all parents.

Specified by:
_getDerivedScale in interface INode

_getFullTransform

public IMatrix4 _getFullTransform()
Gets the full transformation matrix for this node.

Specified by:
_getFullTransform in interface INode

_update

public void _update(boolean updateChildren,
                    boolean parentHasChanged)
Internal method to update the .

Specified by:
_update in interface INode

setListener

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

Specified by:
setListener in interface INode

getListener

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

Specified by:
getListener in interface INode

getMaterial

public IMaterialPtr getMaterial()
Overridden from .

Specified by:
getMaterial in interface INode
Specified by:
getMaterial in interface IRenderable

getRenderOperation

public void getRenderOperation(IRenderOperation op)
Overridden from .

Specified by:
getRenderOperation in interface INode
Specified by:
getRenderOperation in interface IRenderable

getWorldTransforms

public void getWorldTransforms(IMatrix4 xform)
Overridden from .

Specified by:
getWorldTransforms in interface INode
Specified by:
getWorldTransforms in interface IRenderable

setInitialState

public void setInitialState()
Sets the current transform of this node to be the 'initial state' ie that position / orientation / scale to be used as a basis for delta values used in keyframe animation.

Specified by:
setInitialState in interface INode

resetToInitialState

public void resetToInitialState()
Resets the position / orientation / scale of this node to it's initial state, see setInitialState for more info.

Specified by:
resetToInitialState in interface INode

getInitialPosition

public IVector3 getInitialPosition()
Gets the initial position of this node, see setInitialState for more info.

Specified by:
getInitialPosition in interface INode

getInitialOrientation

public IQuaternion getInitialOrientation()
Gets the initial orientation of this node, see setInitialState for more info.

Specified by:
getInitialOrientation in interface INode

getInitialScale

public IVector3 getInitialScale()
Gets the initial position of this node, see setInitialState for more info.

Specified by:
getInitialScale in interface INode

getSquaredViewDepth

public float getSquaredViewDepth(ICamera cam)
Overridden, see

Specified by:
getSquaredViewDepth in interface INode
Specified by:
getSquaredViewDepth in interface IRenderable

requestUpdate

public void requestUpdate(INode child,
                          boolean forceParentUpdate)
Called by children to notify their parent that they need an update.

Specified by:
requestUpdate in interface INode

cancelUpdate

public void cancelUpdate(INode child)
Called by children to notify their parent that they no longer need an update.

Specified by:
cancelUpdate in interface INode

getLights

public ILightList getLights()
Description copied from interface: IRenderable
Gets a list of lights, ordered relative to how close they are to this renderable.

Specified by:
getLights in interface INode
Specified by:
getLights in interface IRenderable

queueNeedUpdate

public static void queueNeedUpdate(INode n)
Queue a 'needUpdate' call to a node safely.


processQueuedUpdates

public static void processQueuedUpdates()
Process queued 'needUpdate' calls.


getTechnique

public ITechnique getTechnique()
Retrieves a pointer to the this renderable object uses.

Specified by:
getTechnique in interface IRenderable

preRender

public boolean preRender(ISceneManager sm,
                         IRenderSystem rsys)
Called just prior to the being rendered.

Specified by:
preRender in interface IRenderable

postRender

public void postRender(ISceneManager sm,
                       IRenderSystem rsys)
Called immediately after the has been rendered.

Specified by:
postRender in interface IRenderable

getNumWorldTransforms

public int getNumWorldTransforms()
Returns the number of world transform matrices this renderable requires.

Specified by:
getNumWorldTransforms in interface IRenderable

setUseIdentityProjection

public void setUseIdentityProjection(boolean useIdentityProjection)
Sets whether or not to use an 'identity' projection.

Specified by:
setUseIdentityProjection in interface IRenderable

getUseIdentityProjection

public boolean getUseIdentityProjection()
Returns whether or not to use an 'identity' projection.

Specified by:
getUseIdentityProjection in interface IRenderable

setUseIdentityView

public void setUseIdentityView(boolean useIdentityView)
Sets whether or not to use an 'identity' view.

Specified by:
setUseIdentityView in interface IRenderable

getUseIdentityView

public boolean getUseIdentityView()
Returns whether or not to use an 'identity' view.

Specified by:
getUseIdentityView in interface IRenderable

getCastsShadows

public boolean getCastsShadows()
Method which reports whether this renderable would normally cast a shadow.

Specified by:
getCastsShadows in interface IRenderable

setCustomParameter

public void setCustomParameter(int index,
                               IVector4 value)
Sets a custom parameter for this , which may be used to drive calculations for this specific , like GPU program parameters.

Specified by:
setCustomParameter in interface IRenderable

getCustomParameter

public IVector4 getCustomParameter(int index)
Gets the custom value associated with this at the given index.

Specified by:
getCustomParameter in interface IRenderable

_updateCustomGpuParameter

public void _updateCustomGpuParameter(IGpuProgramParameters.IAutoConstantEntry constantEntry,
                                      IGpuProgramParameters params)
Update a custom constant which is derived from information only this knows.

Specified by:
_updateCustomGpuParameter in interface IRenderable

setPolygonModeOverrideable

public void setPolygonModeOverrideable(boolean override)
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.

Specified by:
setPolygonModeOverrideable in interface IRenderable

getPolygonModeOverrideable

public boolean getPolygonModeOverrideable()
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.

Specified by:
getPolygonModeOverrideable in interface IRenderable

setUserAny

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

Specified by:
setUserAny in interface IRenderable

getUserAny

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

Specified by:
getUserAny in interface IRenderable

getRenderSystemData

public IRenderable.IRenderSystemData getRenderSystemData()
Sets render system private data

Specified by:
getRenderSystemData in interface IRenderable

setRenderSystemData

public void setRenderSystemData(IRenderable.IRenderSystemData val)
gets render system private data

Specified by:
setRenderSystemData in interface IRenderable


Copyright © 2007 netAllied GmbH. All Rights Reserved.