예제 #1
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
     if (anim_state.normalizedTime > 1f && s == MixamoWrapMode.ClampForever && anim_state.wrapMode == State.MixamoWrapModeToUnityWrapMode(MixamoWrapMode.Loop))
     {
         anim_state.normalizedTime = anim_state.normalizedTime - (int)anim_state.normalizedTime;
     }
     anim_state.wrapMode = State.MixamoWrapModeToUnityWrapMode(s);
 }
예제 #2
0
 public abstract void SetWrapMode(MixamoWrapMode s);
예제 #3
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
 }
예제 #4
0
 public void SetCurrentWrapMode(MixamoWrapMode s)
 {
     currentWrapMode = s;
     root.SetWrapMode(s);
 }
예제 #5
0
 public void ResetWrapMode()
 {
     currentWrapMode = initialWrapMode;
     root.SetWrapMode(currentWrapMode);
 }
예제 #6
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
     blend.SetWrapMode(s);
 }
예제 #7
0
 public void SetInitialWrapMode(MixamoWrapMode s)
 {
     initialWrapMode = s;
     root.SetWrapMode(s);
 }
예제 #8
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
     blend1.SetWrapMode( s );
     blend2.SetWrapMode( s) ;
 }
예제 #9
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
     if( anim_state.normalizedTime > 1f && s == MixamoWrapMode.ClampForever && anim_state.wrapMode == State.MixamoWrapModeToUnityWrapMode(MixamoWrapMode.Loop) ) {
         anim_state.normalizedTime = anim_state.normalizedTime - (int)anim_state.normalizedTime;
     }
     anim_state.wrapMode = State.MixamoWrapModeToUnityWrapMode( s );
 }
예제 #10
0
 public override void SetWrapMode(MixamoWrapMode s)
 {
 }
예제 #11
0
 public abstract void SetWrapMode( MixamoWrapMode s );
예제 #12
0
 public void SetInitialWrapMode( MixamoWrapMode s )
 {
     initialWrapMode = s;
     root.SetWrapMode( s );
 }
예제 #13
0
 public void SetCurrentWrapMode( MixamoWrapMode s )
 {
     currentWrapMode = s;
     root.SetWrapMode( s );
 }
예제 #14
0
 public void ResetWrapMode()
 {
     currentWrapMode = initialWrapMode;
     root.SetWrapMode( currentWrapMode );
 }