|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.TransformKeyFrame
public class TransformKeyFrame
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
TransformKeyFrame(IAnimationTrack parent,
float time)
Default constructor, you should not call this but use instead. |
|
TransformKeyFrame(InstancePointer p)
This constructor is public for internal useage only! |
protected |
TransformKeyFrame(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
TransformKeyFrame(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
IKeyFrame |
_clone(IAnimationTrack newParent)
Clone a keyframe (internal use only) |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
IQuaternion |
getRotation()
Gets the rotation applied by this keyframe. |
IVector3 |
getScale()
Gets the scaling factor applied by this keyframe. |
float |
getTime()
Gets the time of this keyframe in the animation sequence. |
IVector3 |
getTranslate()
Gets the translation applied by this keyframe. |
void |
setRotation(IQuaternion rot)
Sets the rotation applied by this keyframe. |
void |
setScale(IVector3 scale)
Sets the scaling factor applied by this keyframe to the animable object at it's time index. |
void |
setTranslate(IVector3 trans)
Sets the translation associated with this keyframe. |
| 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 |
|---|
public TransformKeyFrame(InstancePointer p)
protected TransformKeyFrame(InstancePointer p,
boolean remote)
public TransformKeyFrame(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
public TransformKeyFrame(IAnimationTrack parent,
float time)
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void setTranslate(IVector3 trans)
setTranslate in interface ITransformKeyFramepublic IVector3 getTranslate()
getTranslate in interface ITransformKeyFramepublic void setScale(IVector3 scale)
setScale in interface ITransformKeyFramepublic IVector3 getScale()
getScale in interface ITransformKeyFramepublic void setRotation(IQuaternion rot)
setRotation in interface ITransformKeyFramepublic IQuaternion getRotation()
getRotation in interface ITransformKeyFramepublic IKeyFrame _clone(IAnimationTrack newParent)
_clone in interface IKeyFrame_clone in interface ITransformKeyFramepublic float getTime()
getTime in interface IKeyFrame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||