Interface CoreMotionScene
-
public interface CoreMotionSceneThis defines the interface to motionScene functionality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetConstraintSet(int index)get a constraintsetjava.lang.StringgetConstraintSet(java.lang.String ext)Get the ConstraintSet as a stringfloatgetForcedProgress()Get the progress of the force progressjava.lang.StringgetTransition(java.lang.String str)get a transition give the namevoidresetForcedProgress()reset the force progress flagvoidsetConstraintSetContent(java.lang.String csName, java.lang.String toJSON)set the constraintSet json stringvoidsetDebugName(java.lang.String name)set the debug name for remote accessvoidsetTransitionContent(java.lang.String elementName, java.lang.String toJSON)set the Transitions string onto the MotionScene
-
-
-
Method Detail
-
setTransitionContent
void setTransitionContent(java.lang.String elementName, java.lang.String toJSON)set the Transitions string onto the MotionScene- Parameters:
elementName- the name of the element
-
getConstraintSet
java.lang.String getConstraintSet(java.lang.String ext)
Get the ConstraintSet as a string
-
setConstraintSetContent
void setConstraintSetContent(java.lang.String csName, java.lang.String toJSON)set the constraintSet json string- Parameters:
csName- the name of the constraint settoJSON- the json string of the constraintset
-
setDebugName
void setDebugName(java.lang.String name)
set the debug name for remote access- Parameters:
name- name to call this motion scene
-
resetForcedProgress
void resetForcedProgress()
reset the force progress flag
-
getForcedProgress
float getForcedProgress()
Get the progress of the force progress
-
getTransition
java.lang.String getTransition(java.lang.String str)
get a transition give the name- Parameters:
str- the name of the transition- Returns:
- the json of the transition
-
getConstraintSet
java.lang.String getConstraintSet(int index)
get a constraintset- Parameters:
index- of the constraintset
-
-