org.ogre4j
Interface ISubEntity

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, IRenderable, ISceneObjAllocatedObject
All Known Implementing Classes:
SubEntity

public interface ISubEntity
extends INativeObject, IRenderable, ISceneObjAllocatedObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderable
IRenderable.ICustomParameterMap, IRenderable.IRenderSystemData, IRenderable.IVisitor
 
Method Summary
 boolean _getBuffersMarkedForAnimation()
          Are buffers already marked as vertex animated?
 IVertexData _getHardwareVertexAnimVertexData()
          Advanced method to get the hardware morph vertex information
 ITempBlendedBufferInfo _getSkelAnimTempBufferInfo()
          Advanced method to get the temp buffer information for software skeletal animation.
 IVertexData _getSkelAnimVertexData()
          Advanced method to get the temporarily blended vertex information for entities which are software skinned.
 IVertexData _getSoftwareVertexAnimVertexData()
          Advanced method to get the temporarily blended software morph vertex information
 ITempBlendedBufferInfo _getVertexAnimTempBufferInfo()
          Advanced method to get the temp buffer information for software morph animation.
 void _invalidateCameraCache()
          Invalidate the camera distance cache
 void _markBuffersUnusedForAnimation()
          Mark all vertex data as so far unanimated.
 void _markBuffersUsedForAnimation()
          Mark all vertex data as animated.
 void _restoreBuffersForUnusedAnimation(boolean hardwareAnimation)
          Internal method to copy original vertex data to the morph structures should there be no active animation in use.
 void _updateCustomGpuParameter(IGpuProgramParameters.IAutoConstantEntry constantEntry, IGpuProgramParameters params)
          Overridden from to provide some custom behaviour.
 boolean getCastsShadows()
          Method which reports whether this renderable would normally cast a shadow.
 ILightList getLights()
          Gets a list of lights, ordered relative to how close they are to this renderable.
 IMaterialPtr getMaterial()
          Overridden - see .
 java.lang.String getMaterialName()
          Gets the name of the in use by this instance.
 int getNumWorldTransforms()
          Overridden - see .
 IEntity getParent()
          Accessor to get parent
 void getRenderOperation(IRenderOperation op)
          Overridden - see .
 float getSquaredViewDepth(ICamera cam)
          Overridden, see
 ISubMesh getSubMesh()
          Accessor method to read mesh data.
 ITechnique getTechnique()
          Overridden - see .
 IVertexData getVertexDataForBinding()
           
 void getWorldTransforms(IMatrix4 xform)
          Overridden - see .
 boolean isVisible()
          Returns whether or not this is supposed to be visible.
 void setMaterialName(java.lang.String name)
          Sets the name of the to be used.
 void setVisible(boolean visible)
          Tells this whether to be visible or not.
 
Methods inherited from interface org.ogre4j.IRenderable
getCustomParameter, getPolygonModeOverrideable, getRenderSystemData, getUseIdentityProjection, getUseIdentityView, getUserAny, postRender, preRender, setCustomParameter, setPolygonModeOverrideable, setRenderSystemData, setUseIdentityProjection, setUseIdentityView, setUserAny
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getMaterialName

java.lang.String getMaterialName()
Gets the name of the in use by this instance.


setMaterialName

void setMaterialName(java.lang.String name)
Sets the name of the to be used.


setVisible

void setVisible(boolean visible)
Tells this whether to be visible or not.


isVisible

boolean isVisible()
Returns whether or not this is supposed to be visible.


getSubMesh

ISubMesh getSubMesh()
Accessor method to read mesh data.


getParent

IEntity getParent()
Accessor to get parent


getMaterial

IMaterialPtr getMaterial()
Overridden - see .

Specified by:
getMaterial in interface IRenderable

getTechnique

ITechnique getTechnique()
Overridden - see .

Specified by:
getTechnique in interface IRenderable

getRenderOperation

void getRenderOperation(IRenderOperation op)
Overridden - see .

Specified by:
getRenderOperation in interface IRenderable

getWorldTransforms

void getWorldTransforms(IMatrix4 xform)
Overridden - see .

Specified by:
getWorldTransforms in interface IRenderable

getNumWorldTransforms

int getNumWorldTransforms()
Overridden - see .

Specified by:
getNumWorldTransforms in interface IRenderable

getSquaredViewDepth

float getSquaredViewDepth(ICamera cam)
Overridden, see

Specified by:
getSquaredViewDepth in interface IRenderable

getLights

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 IRenderable

getCastsShadows

boolean getCastsShadows()
Description copied from interface: IRenderable
Method which reports whether this renderable would normally cast a shadow.

Specified by:
getCastsShadows in interface IRenderable

_getSkelAnimVertexData

IVertexData _getSkelAnimVertexData()
Advanced method to get the temporarily blended vertex information for entities which are software skinned.


_getSoftwareVertexAnimVertexData

IVertexData _getSoftwareVertexAnimVertexData()
Advanced method to get the temporarily blended software morph vertex information


_getHardwareVertexAnimVertexData

IVertexData _getHardwareVertexAnimVertexData()
Advanced method to get the hardware morph vertex information


_getSkelAnimTempBufferInfo

ITempBlendedBufferInfo _getSkelAnimTempBufferInfo()
Advanced method to get the temp buffer information for software skeletal animation.


_getVertexAnimTempBufferInfo

ITempBlendedBufferInfo _getVertexAnimTempBufferInfo()
Advanced method to get the temp buffer information for software morph animation.


getVertexDataForBinding

IVertexData getVertexDataForBinding()

_markBuffersUnusedForAnimation

void _markBuffersUnusedForAnimation()
Mark all vertex data as so far unanimated.


_markBuffersUsedForAnimation

void _markBuffersUsedForAnimation()
Mark all vertex data as animated.


_getBuffersMarkedForAnimation

boolean _getBuffersMarkedForAnimation()
Are buffers already marked as vertex animated?


_restoreBuffersForUnusedAnimation

void _restoreBuffersForUnusedAnimation(boolean hardwareAnimation)
Internal method to copy original vertex data to the morph structures should there be no active animation in use.


_updateCustomGpuParameter

void _updateCustomGpuParameter(IGpuProgramParameters.IAutoConstantEntry constantEntry,
                               IGpuProgramParameters params)
Overridden from to provide some custom behaviour.

Specified by:
_updateCustomGpuParameter in interface IRenderable

_invalidateCameraCache

void _invalidateCameraCache()
Invalidate the camera distance cache



Copyright © 2007 netAllied GmbH. All Rights Reserved.