org.ogre4j
Class OverlayElement

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.OverlayElement
All Implemented Interfaces:
IAllocatedObject<ISceneObjAllocPolicy>, IOverlayElement, IRenderable, ISceneObjAllocatedObject, IStringInterface, INativeObject

public class OverlayElement
extends NativeObject
implements IOverlayElement


Nested Class Summary
 
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
  OverlayElement(InstancePointer p)
          This constructor is public for internal useage only!
protected OverlayElement(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  OverlayElement(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void _getClippingRegion(IRectangle clippingRegion)
          Gets the clipping region of the element
 float _getDerivedLeft()
          Gets the 'left' position as derived from own left and that of parents.
 float _getDerivedTop()
          Gets the 'top' position as derived from own left and that of parents.
 float _getHeight()
          Gets the height of this element in relation to the screen (where 1.0 = screen height)
 float _getLeft()
          Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
 float _getRelativeHeight()
          Gets the 'height' as derived from own height and metrics mode.
 float _getRelativeWidth()
          Gets the 'width' as derived from own width and metrics mode.
 float _getTop()
          Gets the top of this element in relation to the screen (where 0 = far left, 1.0 = far right)
 float _getWidth()
          Gets the width of this element in relation to the screen (where 1.0 = screen width)
 void _notifyParent(IOverlayContainer parent, IOverlay overlay)
          Internal method for notifying the GUI element of it's parent and ultimate overlay.
 void _notifyViewport()
          Internal method to notify the element when the viewport of parent overlay has changed.
 void _notifyWorldTransforms(IMatrix4 xform)
          Internal method to notify the element when it's world transform of parent overlay has changed.
 int _notifyZOrder(int newZOrder)
          Internal method to notify the element when Zorder of parent overlay has changed.
 void _positionsOutOfDate()
          Tell the object to recalculate
 void _setDimensions(float width, float height)
          Sets the width and height of this element in relation to the screen (where 1.0 = screen width)
 void _setHeight(float height)
          Sets the height of this element in relation to the screen (where 1.0 = screen width)
 void _setLeft(float left)
          Sets the left of this element in relation to the screen (where 1.0 = screen width)
 void _setParent(IOverlayContainer parent)
           
 void _setPosition(float left, float top)
          Sets the left and top of this element in relation to the screen (where 1.0 = screen width)
 void _setTop(float top)
          Sets the top of this element in relation to the screen (where 1.0 = screen width)
 void _setWidth(float width)
          Sets the width of this element in relation to the screen (where 1.0 = screen width)
 void _update()
          Internal method to update the element based on transforms applied.
 void _updateCustomGpuParameter(IGpuProgramParameters.IAutoConstantEntry constantEntry, IGpuProgramParameters params)
          Update a custom constant which is derived from information only this knows.
 void _updateFromParent()
          Updates this elements transform based on it's parent.
 void _updateRenderQueue(IRenderQueue queue)
          Internal method to put the contents onto the render queue.
static void cleanupDictionary()
          Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes.
 IOverlayElement clone(java.lang.String instanceName)
           
 boolean contains(float x, float y)
          Returns true if xy is within the constraints of the component
 void copyFromTemplate(IOverlayElement templateOverlay)
           
 void copyParametersTo(IStringInterface dest)
          Method for copying this object's parameters to another object.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IOverlayElement findElementAt(float x, float y)
          Returns true if xy is within the constraints of the component
 IUTFString getCaption()
          Gets the caption for this element.
 boolean getCastsShadows()
          Method which reports whether this renderable would normally cast a shadow.
 IColourValue getColour()
          Gets the colour for this element.
 IVector4 getCustomParameter(int index)
          Gets the custom value associated with this at the given index.
 float getHeight()
          Gets the height of this element in relation to the screen (where 1.0 = screen height)
 GuiHorizontalAlignment getHorizontalAlignment()
          Gets the horizontal alignment for this element.
 float getLeft()
          Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
 ILightList getLights()
          Gets a list of lights, ordered relative to how close they are to this renderable.
 IMaterialPtr getMaterial()
          See
 java.lang.String getMaterialName()
          Gets the name of the material this element uses.
 GuiMetricsMode getMetricsMode()
          Retrieves the current settings of how the element metrics are interpreted.
 java.lang.String getName()
          Gets the name of this overlay.
 int getNumWorldTransforms()
          Returns the number of world transform matrices this renderable requires.
 IParamDictionary getParamDictionary_const()
           
 IParamDictionary getParamDictionary()
          Retrieves the parameter dictionary for this class.
 java.lang.String getParameter(java.lang.String name)
          Generic parameter retrieval method.
 IParameterList getParameters()
          Retrieves a list of parameters valid for this object.
 IOverlayContainer getParent()
          Returns the parent container.
 boolean getPolygonModeOverrideable()
          Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
 void getRenderOperation(IRenderOperation op)
          Gets the render operation required to send this object to the frame buffer.
 IRenderable.IRenderSystemData getRenderSystemData()
          Sets render system private data
 IOverlayElement getSourceTemplate()
           
 float getSquaredViewDepth(ICamera cam)
          Overridden from
 ITechnique getTechnique()
          Retrieves a pointer to the this renderable object uses.
 float getTop()
          Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
 java.lang.String getTypeName()
          Gets the type name of the element.
 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.
 GuiVerticalAlignment getVerticalAlignment()
          Gets the vertical alignment for this element.
 float getWidth()
          Gets the width of this element in relation to the screen (where 1.0 = screen width)
 void getWorldTransforms(IMatrix4 xform)
          See
 int getZOrder()
          Returns the zOrder of the element
 void hide()
          Hides this element if it was visible.
 void initialise()
          Initialise gui element
 boolean isCloneable()
           
 boolean isContainer()
          returns false as this class is not a container type
 boolean isEnabled()
           
 boolean isKeyEnabled()
           
 boolean isVisible()
          Returns whether or not the element is visible.
 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.
 void setCaption(IUTFString text)
          Sets the caption on elements that support it.
 void setCloneable(boolean c)
           
 void setColour(IColourValue col)
          Sets the colour on elements that support it.
 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 setDimensions(float width, float height)
          Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).
 void setEnabled(boolean b)
           
 void setHeight(float height)
          Sets the height of this element in relation to the screen (where 1.0 = screen height)
 void setHorizontalAlignment(GuiHorizontalAlignment gha)
          Sets the horizontal origin for this element.
 void setLeft(float left)
          Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
 void setMaterialName(java.lang.String matName)
          Sets the name of the material this element will use.
 void setMetricsMode(GuiMetricsMode gmm)
          Tells this element how to interpret the position and dimension values it is given.
 boolean setParameter(java.lang.String name, java.lang.String value)
          Generic parameter setting method.
 void setParameterList(INameValuePairList paramList)
          Generic multiple parameter setting method.
 void setPolygonModeOverrideable(boolean override)
          Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
 void setPosition(float left, float top)
          Sets the position of the top-left corner of the element, relative to the screen size (1.0 = screen width / height)
 void setRenderSystemData(IRenderable.IRenderSystemData val)
          gets render system private data
 void setTop(float Top)
          Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
 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 setVerticalAlignment(GuiVerticalAlignment gva)
          Sets the vertical origin for this element.
 void setWidth(float width)
          Sets the width of this element in relation to the screen (where 1.0 = screen width)
 void show()
          Shows this element if it was hidden.
 void visitRenderables(IRenderable.IVisitor visitor, boolean debugRenderables)
           
 
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

OverlayElement

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


OverlayElement

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


OverlayElement

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()
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

initialise

public void initialise()
Initialise gui element

Specified by:
initialise in interface IOverlayElement

getName

public java.lang.String getName()
Gets the name of this overlay.

Specified by:
getName in interface IOverlayElement

show

public void show()
Shows this element if it was hidden.

Specified by:
show in interface IOverlayElement

hide

public void hide()
Hides this element if it was visible.

Specified by:
hide in interface IOverlayElement

isVisible

public boolean isVisible()
Returns whether or not the element is visible.

Specified by:
isVisible in interface IOverlayElement

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface IOverlayElement

setEnabled

public void setEnabled(boolean b)
Specified by:
setEnabled in interface IOverlayElement

setDimensions

public void setDimensions(float width,
                          float height)
Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).

Specified by:
setDimensions in interface IOverlayElement

setPosition

public void setPosition(float left,
                        float top)
Sets the position of the top-left corner of the element, relative to the screen size (1.0 = screen width / height)

Specified by:
setPosition in interface IOverlayElement

setWidth

public void setWidth(float width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)

Specified by:
setWidth in interface IOverlayElement

getWidth

public float getWidth()
Gets the width of this element in relation to the screen (where 1.0 = screen width)

Specified by:
getWidth in interface IOverlayElement

setHeight

public void setHeight(float height)
Sets the height of this element in relation to the screen (where 1.0 = screen height)

Specified by:
setHeight in interface IOverlayElement

getHeight

public float getHeight()
Gets the height of this element in relation to the screen (where 1.0 = screen height)

Specified by:
getHeight in interface IOverlayElement

setLeft

public void setLeft(float left)
Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)

Specified by:
setLeft in interface IOverlayElement

getLeft

public float getLeft()
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)

Specified by:
getLeft in interface IOverlayElement

setTop

public void setTop(float Top)
Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)

Specified by:
setTop in interface IOverlayElement

getTop

public float getTop()
Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)

Specified by:
getTop in interface IOverlayElement

_getLeft

public float _getLeft()
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)

Specified by:
_getLeft in interface IOverlayElement

_getTop

public float _getTop()
Gets the top of this element in relation to the screen (where 0 = far left, 1.0 = far right)

Specified by:
_getTop in interface IOverlayElement

_getWidth

public float _getWidth()
Gets the width of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_getWidth in interface IOverlayElement

_getHeight

public float _getHeight()
Gets the height of this element in relation to the screen (where 1.0 = screen height)

Specified by:
_getHeight in interface IOverlayElement

_setLeft

public void _setLeft(float left)
Sets the left of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setLeft in interface IOverlayElement

_setTop

public void _setTop(float top)
Sets the top of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setTop in interface IOverlayElement

_setWidth

public void _setWidth(float width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setWidth in interface IOverlayElement

_setHeight

public void _setHeight(float height)
Sets the height of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setHeight in interface IOverlayElement

_setPosition

public void _setPosition(float left,
                         float top)
Sets the left and top of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setPosition in interface IOverlayElement

_setDimensions

public void _setDimensions(float width,
                           float height)
Sets the width and height of this element in relation to the screen (where 1.0 = screen width)

Specified by:
_setDimensions in interface IOverlayElement

getMaterialName

public java.lang.String getMaterialName()
Gets the name of the material this element uses.

Specified by:
getMaterialName in interface IOverlayElement

setMaterialName

public void setMaterialName(java.lang.String matName)
Sets the name of the material this element will use.

Specified by:
setMaterialName in interface IOverlayElement

getMaterial

public IMaterialPtr getMaterial()
See

Specified by:
getMaterial in interface IOverlayElement
Specified by:
getMaterial in interface IRenderable

getWorldTransforms

public void getWorldTransforms(IMatrix4 xform)
See

Specified by:
getWorldTransforms in interface IOverlayElement
Specified by:
getWorldTransforms in interface IRenderable

_positionsOutOfDate

public void _positionsOutOfDate()
Tell the object to recalculate

Specified by:
_positionsOutOfDate in interface IOverlayElement

_update

public void _update()
Internal method to update the element based on transforms applied.

Specified by:
_update in interface IOverlayElement

_updateFromParent

public void _updateFromParent()
Updates this elements transform based on it's parent.

Specified by:
_updateFromParent in interface IOverlayElement

_notifyParent

public void _notifyParent(IOverlayContainer parent,
                          IOverlay overlay)
Internal method for notifying the GUI element of it's parent and ultimate overlay.

Specified by:
_notifyParent in interface IOverlayElement

_getDerivedLeft

public float _getDerivedLeft()
Gets the 'left' position as derived from own left and that of parents.

Specified by:
_getDerivedLeft in interface IOverlayElement

_getDerivedTop

public float _getDerivedTop()
Gets the 'top' position as derived from own left and that of parents.

Specified by:
_getDerivedTop in interface IOverlayElement

_getRelativeWidth

public float _getRelativeWidth()
Gets the 'width' as derived from own width and metrics mode.

Specified by:
_getRelativeWidth in interface IOverlayElement

_getRelativeHeight

public float _getRelativeHeight()
Gets the 'height' as derived from own height and metrics mode.

Specified by:
_getRelativeHeight in interface IOverlayElement

_getClippingRegion

public void _getClippingRegion(IRectangle clippingRegion)
Gets the clipping region of the element

Specified by:
_getClippingRegion in interface IOverlayElement

_notifyZOrder

public int _notifyZOrder(int newZOrder)
Internal method to notify the element when Zorder of parent overlay has changed.

Specified by:
_notifyZOrder in interface IOverlayElement

_notifyWorldTransforms

public void _notifyWorldTransforms(IMatrix4 xform)
Internal method to notify the element when it's world transform of parent overlay has changed.

Specified by:
_notifyWorldTransforms in interface IOverlayElement

_notifyViewport

public void _notifyViewport()
Internal method to notify the element when the viewport of parent overlay has changed.

Specified by:
_notifyViewport in interface IOverlayElement

_updateRenderQueue

public void _updateRenderQueue(IRenderQueue queue)
Internal method to put the contents onto the render queue.

Specified by:
_updateRenderQueue in interface IOverlayElement

visitRenderables

public void visitRenderables(IRenderable.IVisitor visitor,
                             boolean debugRenderables)
Specified by:
visitRenderables in interface IOverlayElement

getTypeName

public java.lang.String getTypeName()
Gets the type name of the element. All concrete subclasses must implement this.

Specified by:
getTypeName in interface IOverlayElement

setCaption

public void setCaption(IUTFString text)
Sets the caption on elements that support it.

Specified by:
setCaption in interface IOverlayElement

getCaption

public IUTFString getCaption()
Gets the caption for this element.

Specified by:
getCaption in interface IOverlayElement

setColour

public void setColour(IColourValue col)
Sets the colour on elements that support it.

Specified by:
setColour in interface IOverlayElement

getColour

public IColourValue getColour()
Gets the colour for this element.

Specified by:
getColour in interface IOverlayElement

setMetricsMode

public void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.

Specified by:
setMetricsMode in interface IOverlayElement

getMetricsMode

public GuiMetricsMode getMetricsMode()
Retrieves the current settings of how the element metrics are interpreted.

Specified by:
getMetricsMode in interface IOverlayElement

setHorizontalAlignment

public void setHorizontalAlignment(GuiHorizontalAlignment gha)
Sets the horizontal origin for this element.

Specified by:
setHorizontalAlignment in interface IOverlayElement

getHorizontalAlignment

public GuiHorizontalAlignment getHorizontalAlignment()
Gets the horizontal alignment for this element.

Specified by:
getHorizontalAlignment in interface IOverlayElement

setVerticalAlignment

public void setVerticalAlignment(GuiVerticalAlignment gva)
Sets the vertical origin for this element.

Specified by:
setVerticalAlignment in interface IOverlayElement

getVerticalAlignment

public GuiVerticalAlignment getVerticalAlignment()
Gets the vertical alignment for this element.

Specified by:
getVerticalAlignment in interface IOverlayElement

contains

public boolean contains(float x,
                        float y)
Returns true if xy is within the constraints of the component

Specified by:
contains in interface IOverlayElement

findElementAt

public IOverlayElement findElementAt(float x,
                                     float y)
Returns true if xy is within the constraints of the component

Specified by:
findElementAt in interface IOverlayElement

isContainer

public boolean isContainer()
returns false as this class is not a container type

Specified by:
isContainer in interface IOverlayElement

isKeyEnabled

public boolean isKeyEnabled()
Specified by:
isKeyEnabled in interface IOverlayElement

isCloneable

public boolean isCloneable()
Specified by:
isCloneable in interface IOverlayElement

setCloneable

public void setCloneable(boolean c)
Specified by:
setCloneable in interface IOverlayElement

getParent

public IOverlayContainer getParent()
Returns the parent container.

Specified by:
getParent in interface IOverlayElement

_setParent

public void _setParent(IOverlayContainer parent)
Specified by:
_setParent in interface IOverlayElement

getZOrder

public int getZOrder()
Returns the zOrder of the element

Specified by:
getZOrder in interface IOverlayElement

getSquaredViewDepth

public float getSquaredViewDepth(ICamera cam)
Overridden from

Specified by:
getSquaredViewDepth in interface IOverlayElement
Specified by:
getSquaredViewDepth in interface IRenderable

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 IOverlayElement
Specified by:
getLights in interface IRenderable

copyFromTemplate

public void copyFromTemplate(IOverlayElement templateOverlay)
Specified by:
copyFromTemplate in interface IOverlayElement

clone

public IOverlayElement clone(java.lang.String instanceName)
Specified by:
clone in interface IOverlayElement

getSourceTemplate

public IOverlayElement getSourceTemplate()
Specified by:
getSourceTemplate in interface IOverlayElement

getParamDictionary

public IParamDictionary getParamDictionary()
Retrieves the parameter dictionary for this class.

Specified by:
getParamDictionary in interface IStringInterface

getParamDictionary_const

public IParamDictionary getParamDictionary_const()
Specified by:
getParamDictionary_const in interface IStringInterface

getParameters

public IParameterList getParameters()
Retrieves a list of parameters valid for this object.

Specified by:
getParameters in interface IStringInterface

setParameter

public boolean setParameter(java.lang.String name,
                            java.lang.String value)
Generic parameter setting method.

Specified by:
setParameter in interface IStringInterface

setParameterList

public void setParameterList(INameValuePairList paramList)
Generic multiple parameter setting method.

Specified by:
setParameterList in interface IStringInterface

getParameter

public java.lang.String getParameter(java.lang.String name)
Generic parameter retrieval method.

Specified by:
getParameter in interface IStringInterface

copyParametersTo

public void copyParametersTo(IStringInterface dest)
Method for copying this object's parameters to another object.

Specified by:
copyParametersTo in interface IStringInterface

cleanupDictionary

public static void cleanupDictionary()
Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes.


getTechnique

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

Specified by:
getTechnique in interface IRenderable

getRenderOperation

public void getRenderOperation(IRenderOperation op)
Gets the render operation required to send this object to the frame buffer.

Specified by:
getRenderOperation 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.