org.ogre4j
Interface IAnimationState

All Superinterfaces:
IAllocatedObject<IAnimationAllocPolicy>, IAnimationAllocatedObject, INativeObject
All Known Implementing Classes:
AnimationState

public interface IAnimationState
extends INativeObject, IAnimationAllocatedObject


Nested Class Summary
static interface IAnimationState.IBoneBlendMask
           
 
Method Summary
 void _setBlendMask(IAnimationState.IBoneBlendMask blendMask)
           
 void _setBlendMaskData(FloatPointer blendMaskData)
           
 void addTime(float offset)
          Modifies the time position, adjusting for animation length
 void copyStateFrom(IAnimationState animState)
          Copies the states from another animation state, preserving the animation name (unlike operator=) but copying everything else.
 void createBlendMask(int blendMaskSizeHint, float initialWeight)
          In addition to assigning a single weight value to a skeletal animation, it may be desirable to assign animation weights per bone using a 'blend mask'.
 void destroyBlendMask()
           
 java.lang.String getAnimationName()
           
 IAnimationState.IBoneBlendMask getBlendMask()
           
 float getBlendMaskEntry(int boneHandle)
           
 boolean getEnabled()
           
 float getLength()
           
 boolean getLoop()
           
 IAnimationStateSet getParent()
           
 float getTimePosition()
           
 float getWeight()
           
 boolean hasBlendMask()
           
 boolean hasEnded()
           
 boolean operatorEqual(IAnimationState rhs)
           
 boolean operatorNotEqual(IAnimationState rhs)
           
 void setBlendMaskEntry(int boneHandle, float weight)
           
 void setEnabled(boolean enabled)
           
 void setLength(float len)
           
 void setLoop(boolean loop)
          Sets whether or not an animation loops at the start and end of the animation if the time continues to be altered.
 void setTimePosition(float timePos)
           
 void setWeight(float weight)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getAnimationName

java.lang.String getAnimationName()

getTimePosition

float getTimePosition()

setTimePosition

void setTimePosition(float timePos)

getLength

float getLength()

setLength

void setLength(float len)

getWeight

float getWeight()

setWeight

void setWeight(float weight)

addTime

void addTime(float offset)
Modifies the time position, adjusting for animation length


hasEnded

boolean hasEnded()

getEnabled

boolean getEnabled()

setEnabled

void setEnabled(boolean enabled)

operatorEqual

boolean operatorEqual(IAnimationState rhs)

operatorNotEqual

boolean operatorNotEqual(IAnimationState rhs)

setLoop

void setLoop(boolean loop)
Sets whether or not an animation loops at the start and end of the animation if the time continues to be altered.


getLoop

boolean getLoop()

copyStateFrom

void copyStateFrom(IAnimationState animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but copying everything else.


getParent

IAnimationStateSet getParent()

createBlendMask

void createBlendMask(int blendMaskSizeHint,
                     float initialWeight)
In addition to assigning a single weight value to a skeletal animation, it may be desirable to assign animation weights per bone using a 'blend mask'.


destroyBlendMask

void destroyBlendMask()

_setBlendMaskData

void _setBlendMaskData(FloatPointer blendMaskData)

_setBlendMask

void _setBlendMask(IAnimationState.IBoneBlendMask blendMask)

getBlendMask

IAnimationState.IBoneBlendMask getBlendMask()

hasBlendMask

boolean hasBlendMask()

setBlendMaskEntry

void setBlendMaskEntry(int boneHandle,
                       float weight)

getBlendMaskEntry

float getBlendMaskEntry(int boneHandle)


Copyright © 2007 netAllied GmbH. All Rights Reserved.