コード例 #1
0
 public static KeyFrameTransitionAnimationFluentContext <Quaternion> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Quaternion> animationFluentContext, float value)
 {
     animationFluentContext.KeyFrame(new Quaternion(value, value, value, value));
     return(animationFluentContext);
 }
コード例 #2
0
 public static KeyFrameTransitionAnimationFluentContext <Vector4> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Vector4> animationFluentContext, float value)
 {
     animationFluentContext.KeyFrame(new Vector4(value, value, value, value));
     return(animationFluentContext);
 }
コード例 #3
0
 public static KeyFrameTransitionAnimationFluentContext <Color> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Color> animationFluentContext, int colorCode)
 {
     animationFluentContext.KeyFrame(colorCode.ToColor());
     return(animationFluentContext);
 }
コード例 #4
0
 public static KeyFrameTransitionAnimationFluentContext <Color> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Color> animationFluentContext, byte a, byte r, byte g, byte b)
 {
     animationFluentContext.KeyFrame(Color.FromArgb(a, r, g, b));
     return(animationFluentContext);
 }
コード例 #5
0
 public static KeyFrameTransitionAnimationFluentContext <Quaternion> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Quaternion> animationFluentContext, float x, float y, float z, float w)
 {
     animationFluentContext.KeyFrame(new Quaternion(x, y, z, w));
     return(animationFluentContext);
 }
コード例 #6
0
 public static KeyFrameTransitionAnimationFluentContext <Vector4> KeyFrame(this KeyFrameTransitionAnimationFluentContext <Vector4> animationFluentContext, float x, float y, float z, float w)
 {
     animationFluentContext.KeyFrame(new Vector4(x, y, z, w));
     return(animationFluentContext);
 }