org.ogre4j
Class InstancedGeometry.InstancedObject
java.lang.Object
org.xbig.base.NativeObject
org.ogre4j.InstancedGeometry.InstancedObject
- All Implemented Interfaces:
- IAllocatedObject<IGeometryAllocPolicy>, IGeometryAllocatedObject, IInstancedGeometry.IInstancedObject, INativeObject
- Enclosing class:
- InstancedGeometry
public static class InstancedGeometry.InstancedObject
- extends NativeObject
- implements IInstancedGeometry.IInstancedObject
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
InstancedGeometry.InstancedObject
public InstancedGeometry.InstancedObject(InstancePointer p)
- This constructor is public for internal useage only!
Do not use it!
InstancedGeometry.InstancedObject
protected InstancedGeometry.InstancedObject(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.InstancedObject
public InstancedGeometry.InstancedObject(WithoutNativeObject val)
- Allows creation of Java objects without C++ objects.
- See Also:
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
InstancedGeometry.InstancedObject
public InstancedGeometry.InstancedObject(int index)
InstancedGeometry.InstancedObject
public InstancedGeometry.InstancedObject(int index,
ISkeletonInstance skeleton,
IAnimationStateSet animations)
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
setPosition
public void setPosition(IVector3 position)
- Specified by:
setPosition in interface IInstancedGeometry.IInstancedObject
getPosition
public IVector3 getPosition()
- Specified by:
getPosition in interface IInstancedGeometry.IInstancedObject
yaw
public void yaw(IRadian angle)
- Specified by:
yaw in interface IInstancedGeometry.IInstancedObject
pitch
public void pitch(IRadian angle)
- Specified by:
pitch in interface IInstancedGeometry.IInstancedObject
roll
public void roll(IRadian angle)
- Specified by:
roll in interface IInstancedGeometry.IInstancedObject
rotate
public void rotate(IQuaternion q)
- Specified by:
rotate in interface IInstancedGeometry.IInstancedObject
setScale
public void setScale(IVector3 scale)
- Specified by:
setScale in interface IInstancedGeometry.IInstancedObject
setOrientation
public void setOrientation(IQuaternion q)
- Specified by:
setOrientation in interface IInstancedGeometry.IInstancedObject
setPositionAndOrientation
public void setPositionAndOrientation(IVector3 p,
IQuaternion q)
- Specified by:
setPositionAndOrientation in interface IInstancedGeometry.IInstancedObject
getOrientation
public IQuaternion getOrientation()
- Specified by:
getOrientation in interface IInstancedGeometry.IInstancedObject
addBucketToList
public void addBucketToList(IInstancedGeometry.IGeometryBucket bucket)
- Specified by:
addBucketToList in interface IInstancedGeometry.IInstancedObject
needUpdate
public void needUpdate()
- Specified by:
needUpdate in interface IInstancedGeometry.IInstancedObject
getGeometryBucketList
public IInstancedGeometry.IInstancedObject.IGeometryBucketList getGeometryBucketList()
- Specified by:
getGeometryBucketList in interface IInstancedGeometry.IInstancedObject
translate
public void translate(IMatrix3 axes,
IVector3 move)
- Specified by:
translate in interface IInstancedGeometry.IInstancedObject
translate
public void translate(IVector3 d)
- Specified by:
translate in interface IInstancedGeometry.IInstancedObject
getLocalAxes
public void getLocalAxes(IMatrix3 returnValue)
- Specified by:
getLocalAxes in interface IInstancedGeometry.IInstancedObject
updateAnimation
public void updateAnimation()
- Specified by:
updateAnimation in interface IInstancedGeometry.IInstancedObject
getAnimationState
public IAnimationState getAnimationState(java.lang.String name)
- Specified by:
getAnimationState in interface IInstancedGeometry.IInstancedObject
getSkeletonInstance
public ISkeletonInstance getSkeletonInstance()
- Specified by:
getSkeletonInstance in interface IInstancedGeometry.IInstancedObject
Copyright © 2007 netAllied GmbH. All Rights Reserved.