|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISkeleton
| Nested Class Summary | |
|---|---|
static interface |
ISkeleton.IAnimationList
|
static interface |
ISkeleton.IBoneHandleMap
|
static interface |
ISkeleton.IBoneIterator
|
static interface |
ISkeleton.IBoneList
|
static interface |
ISkeleton.IBoneListByName
|
static interface |
ISkeleton.IBoneSet
|
static interface |
ISkeleton.ILinkedSkeletonAnimSourceIterator
|
static interface |
ISkeleton.ILinkedSkeletonAnimSourceList
|
| Nested classes/interfaces inherited from interface org.ogre4j.IResource |
|---|
IResource.IListener, IResource.IListenerList |
| Method Summary | |
|---|---|
void |
_buildMapBoneByHandle(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap)
Build the bone handle map to use with . |
void |
_buildMapBoneByName(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap)
Build the bone handle map to use with . |
IAnimation |
_getAnimationImpl(java.lang.String name,
NativeObjectPointer<ILinkedSkeletonAnimationSource> linker)
|
void |
_getBoneMatrices(IMatrix4 pMatrices)
Populates the passed in array with the bone matrices based on the current position. |
void |
_initAnimationState(IAnimationStateSet animSet)
Initialise an animation set suitable for use with this skeleton. |
void |
_mergeSkeletonAnimations(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap,
IStringVector animations)
Merge animations from another object into this skeleton. |
void |
_notifyManualBonesDirty()
|
void |
_notifyManualBoneStateChange(IBone bone)
|
void |
_refreshAnimationState(IAnimationStateSet animSet)
Refresh an animation set suitable for use with this skeleton. |
void |
_updateTransforms()
|
void |
addLinkedSkeletonAnimationSource(java.lang.String skelName,
float scale)
Allows you to use the animations from another object to animate this skeleton. |
IAnimation |
createAnimation(java.lang.String name,
float length)
Creates a new object for animating this skeleton. |
IBone |
createBone()
Creates a brand new owned by this . |
IBone |
createBone(int handle)
Creates a brand new owned by this . |
IBone |
createBone(java.lang.String name)
Creates a brand new owned by this . |
IBone |
createBone(java.lang.String name,
int handle)
Creates a brand new owned by this . |
IAnimation |
getAnimation(int index)
Gets a single animation by index. |
IAnimation |
getAnimation(java.lang.String name,
NativeObjectPointer<ILinkedSkeletonAnimationSource> linker)
Returns the named object. |
SkeletonAnimationBlendMode |
getBlendMode()
Gets the animation blending mode which this skeleton will use. |
IBone |
getBone(int handle)
Gets a bone by it's handle. |
IBone |
getBone(java.lang.String name)
Gets a bone by it's name. |
void |
getBoneIterator(ISkeleton.IBoneIterator returnValue)
|
void |
getLinkedSkeletonAnimationSourceIterator(ISkeleton.ILinkedSkeletonAnimSourceIterator returnValue)
|
boolean |
getManualBonesDirty()
|
int |
getNumAnimations()
Gets the number of animations on this skeleton. |
int |
getNumBones()
Returns the number of bones in this skeleton. |
IBone |
getRootBone()
Gets the root bone of the skeleton: deprecated in favour of getRootBoneIterator. |
void |
getRootBoneIterator(ISkeleton.IBoneIterator returnValue)
|
boolean |
hasAnimation(java.lang.String name)
Returns whether this skeleton contains the named animation. |
boolean |
hasBone(java.lang.String name)
Returns whether this skeleton contains the named bone. |
boolean |
hasManualBones()
|
void |
optimiseAllAnimations(boolean preservingIdentityNodeTracks)
Optimise all of this skeleton's animations. |
void |
removeAllLinkedSkeletonAnimationSources()
|
void |
removeAnimation(java.lang.String name)
Removes an from this skeleton. |
void |
reset(boolean resetManualBones)
Resets the position and orientation of all bones in this skeleton to their original binding position. |
void |
setAnimationState(IAnimationStateSet animSet)
Changes the state of the skeleton to reflect the application of the passed in collection of animations. |
void |
setBindingPose()
Sets the current position / orientation to be the 'binding pose' i.e. the layout in which bones were originally bound to a mesh. |
void |
setBlendMode(SkeletonAnimationBlendMode state)
Sets the animation blending mode this skeleton will use. |
| Methods inherited from interface org.ogre4j.IResource |
|---|
_dirtyState, _fireBackgroundLoadingComplete, _fireBackgroundPreparingComplete, _notifyOrigin, addListener, changeGroupOwnership, escalateLoading, getCreator, getGroup, getHandle, getLoadingState, getName, getOrigin, getSize, getStateCount, isBackgroundLoaded, isLoaded, isLoading, isManuallyLoaded, isPrepared, isReloadable, load, prepare, reload, removeListener, setBackgroundLoaded, touch, unload |
| Methods inherited from interface org.ogre4j.IStringInterface |
|---|
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
IBone createBone()
IBone createBone(int handle)
IBone createBone(java.lang.String name)
IBone createBone(java.lang.String name,
int handle)
int getNumBones()
IBone getRootBone()
void getRootBoneIterator(ISkeleton.IBoneIterator returnValue)
void getBoneIterator(ISkeleton.IBoneIterator returnValue)
IBone getBone(int handle)
IBone getBone(java.lang.String name)
boolean hasBone(java.lang.String name)
void setBindingPose()
void reset(boolean resetManualBones)
IAnimation createAnimation(java.lang.String name,
float length)
IAnimation getAnimation(java.lang.String name,
NativeObjectPointer<ILinkedSkeletonAnimationSource> linker)
IAnimation _getAnimationImpl(java.lang.String name,
NativeObjectPointer<ILinkedSkeletonAnimationSource> linker)
boolean hasAnimation(java.lang.String name)
void removeAnimation(java.lang.String name)
void setAnimationState(IAnimationStateSet animSet)
void _initAnimationState(IAnimationStateSet animSet)
void _refreshAnimationState(IAnimationStateSet animSet)
void _getBoneMatrices(IMatrix4 pMatrices)
int getNumAnimations()
IAnimation getAnimation(int index)
SkeletonAnimationBlendMode getBlendMode()
void setBlendMode(SkeletonAnimationBlendMode state)
void _updateTransforms()
void optimiseAllAnimations(boolean preservingIdentityNodeTracks)
void addLinkedSkeletonAnimationSource(java.lang.String skelName,
float scale)
void removeAllLinkedSkeletonAnimationSources()
void getLinkedSkeletonAnimationSourceIterator(ISkeleton.ILinkedSkeletonAnimSourceIterator returnValue)
void _notifyManualBonesDirty()
void _notifyManualBoneStateChange(IBone bone)
boolean getManualBonesDirty()
boolean hasManualBones()
void _mergeSkeletonAnimations(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap,
IStringVector animations)
void _buildMapBoneByHandle(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap)
void _buildMapBoneByName(ISkeleton source,
ISkeleton.IBoneHandleMap boneHandleMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||