public class MorphAnimMesh extends Mesh
Modifier and Type | Class and Description |
---|---|
class |
MorphAnimMesh.Animation |
Object3D.ObjectHandler, Object3D.Traverse
__webglMorphTargetInfluences, morphTargetBase, morphTargetForcedOrder, morphTargetInfluences
__webglActive, __webglInit, _modelViewMatrix, _normalMatrix, DefaultUp
Constructor and Description |
---|
MorphAnimMesh(Geometry geometry,
Material material) |
Modifier and Type | Method and Description |
---|---|
MorphAnimMesh |
clone()
Creates a new clone of this object and all descendants.
|
MorphAnimMesh |
clone(MorphAnimMesh object) |
int |
getDuration() |
int |
getTime() |
void |
interpolateTargets(int a,
int b,
double t) |
void |
parseAnimations() |
void |
playAnimation(java.lang.String label,
int fps) |
void |
setAnimationLabel(java.lang.String label,
int start,
int end) |
void |
setDirectionBackward() |
void |
setDirectionForward() |
void |
setDuration(int duration)
Sets animation duration.
|
void |
setTime(int time) |
void |
updateAnimation(double delta) |
clone, clone, createBuffers, deleteBuffers, initBuffers, raycast, renderBuffer, setBuffers, updateMorphTargets
getGeometry, getMaterial, setGeometry, setLineWidth, setMaterial
add, add, applyMatrix, clone, clone, getChildren, getChildrenByClass, getId, getMatrix, getMatrixWorld, getName, getObjectById, getObjectByName, getParent, getPosition, getQuaternion, getRenderDepth, getRotation, getScale, getUp, getWorldDirection, getWorldDirection, getWorldPosition, getWorldPosition, getWorldQuaternion, getWorldQuaternion, getWorldRotation, getWorldRotation, getWorldScale, getWorldScale, isCastShadow, isFrustumCulled, isMatrixAutoUpdate, isMatrixWorldNeedsUpdate, isReceiveShadow, isRotationAutoUpdate, isVisible, localToWorld, lookAt, remove, remove, rotateOnAxis, rotateX, rotateY, rotateZ, setCastShadow, setChildren, setFrustumCulled, setHandler, setMatrix, setMatrixAutoUpdate, setMatrixWorld, setMatrixWorldNeedsUpdate, setName, setParent, setPosition, setQuaternion, setReceiveShadow, setRenderDepth, setRotation, setRotationAutoUpdate, setRotationFromAxisAngle, setRotationFromEuler, setRotationFromMatrix, setRotationFromQuaternion, setScale, setUp, setVisible, toString, translateOnAxis, translateX, translateY, translateZ, traverse, traverseVisible, updateMatrix, updateMatrixWorld, worldToLocal
public void setDuration(int duration)
duration
- the millisecond value.public int getDuration()
public int getTime()
public void setTime(int time)
public void setDirectionForward()
public void setDirectionBackward()
public void parseAnimations()
public void setAnimationLabel(java.lang.String label, int start, int end)
public void playAnimation(java.lang.String label, int fps)
public void updateAnimation(double delta)
public void interpolateTargets(int a, int b, double t)
public MorphAnimMesh clone()
Object3D
public MorphAnimMesh clone(MorphAnimMesh object)