Show / Hide Table of Contents

Class TweenStaticArithmeticPlugin

Default arithmetic plugin using precompiled arithmetic.

Inheritance
System.Object
TweenStaticArithmeticPlugin
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sttz.Tweener.Core
Assembly: cs.temp.dll.dll
Syntax
public static class TweenStaticArithmeticPlugin

Methods

EnableArithmetic<TValue>(TweenStaticArithmeticPlugin.DiffValue<TValue>, TweenStaticArithmeticPlugin.EndValue<TValue>, TweenStaticArithmeticPlugin.ValueAtPosition<TValue>)

Teach the static arithmetic plugin to calculate with a given type.

Declaration
public static void EnableArithmetic<TValue>(TweenStaticArithmeticPlugin.DiffValue<TValue> diff, TweenStaticArithmeticPlugin.EndValue<TValue> end, TweenStaticArithmeticPlugin.ValueAtPosition<TValue> valueAt)
Parameters
Type Name Description
TweenStaticArithmeticPlugin.DiffValue<TValue> diff
TweenStaticArithmeticPlugin.EndValue<TValue> end
TweenStaticArithmeticPlugin.ValueAtPosition<TValue> valueAt
Type Parameters
Name Description
TValue
See Also
EnableArithmetic<TValue>(TweenStaticArithmeticPlugin.DiffValue<TValue>, TweenStaticArithmeticPlugin.EndValue<TValue>, TweenStaticArithmeticPlugin.ValueAtPosition<TValue>)

Loader(Tween, Boolean)

TweenStaticArithmeticPlugin plugin loader.

Declaration
public static PluginResult Loader(Tween tween, bool required)
Parameters
Type Name Description
Tween tween
System.Boolean required
Returns
Type Description
PluginResult
Remarks

Pass this method to EnablePlugin(PluginLoader, Nullable<Boolean>, Nullable<Boolean>) to enable the plugin for the options scope.

RegisterSupport<TValue>(ITweenArithmeticPlugin<TValue>)

Register a plugin to support calculating a given type.

Declaration
public static void RegisterSupport<TValue>(ITweenArithmeticPlugin<TValue> plugin)
Parameters
Type Name Description
ITweenArithmeticPlugin<TValue> plugin
Type Parameters
Name Description
TValue

SupportsType(Type)

Check if the static arithmetic plugin supports a given type.

Declaration
public static bool SupportsType(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean
Back to top © 2018 Adrian Stutz