コード例 #1
0
        /************************************************************************************************************************/

        /// <summary>Modify the current fade to use the specified `curve` to calculate the weight.</summary>
        /// <example>See <see cref="CustomFade"/>.</example>
        /// <remarks>The `curve` should follow the <see cref="OptionalWarning.CustomFadeBounds"/> guideline.</remarks>
        public static void Apply(AnimancerPlayable animancer, AnimationCurve curve)
        => Curve.Acquire(curve).Apply(animancer);
コード例 #2
0
 /// <summary>Modify the current fade to use the specified `curve` to calculate the weight.</summary>
 /// <example>See <see cref="CustomFade"/>.</example>
 /// <remarks>The `curve` should follow the <see cref="OptionalWarning.CustomFadeBounds"/> guideline.</remarks>
 public static void Apply(AnimancerState state, AnimationCurve curve)
 => Curve.Acquire(curve).Apply(state);
コード例 #3
0
ファイル: CustomFade.Curve.cs プロジェクト: malering/ET
 /// <summary>Modify the current fade to use the specified `curve` to calculate the weight.</summary>
 /// <example>See <see cref="CustomFade"/>.</example>
 /// <remarks>The `curve` should follow the <see cref="OptionalWarning.CustomFadeBounds"/> guideline.</remarks>
 public static void Apply(AnimancerNode node, AnimationCurve curve)
 => Curve.Acquire(curve).Apply(node);