Class TweenMember | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class TweenMember

    Tweens the value of a field or property via reflection. (Requires DOTween library.)

    Inheritance
    Object
    GraphElement<FlowGraph>
    Unit<FlowGraph>
    Unit
    MemberUnit
    TweenMember
    Inherited Members
    MemberUnit.member
    MemberUnit.memberTargetType
    MemberUnit.boltTargetType
    MemberUnit.displayTargetType
    MemberUnit.portTargetType
    MemberUnit.isTargetTypeOpenConstructed
    MemberUnit.isOpenConstructed
    MemberUnit.target
    MemberUnit.memberRequiresTarget
    MemberUnit.requiresTargetPort
    MemberUnit.FetchTarget(Flow)
    MemberUnit.Prewarm()
    Unit<FlowGraph>.IUnit.parentGraph
    Unit<FlowGraph>.CreateDebugData()
    Unit<FlowGraph>.AfterAdd(FlowGraph)
    Unit<FlowGraph>.BeforeRemove(FlowGraph)
    Unit<FlowGraph>.Dispose()
    Unit<FlowGraph>.failedToDefine
    Unit<FlowGraph>.isDefined
    Unit<FlowGraph>.AfterDefine()
    Unit<FlowGraph>.BeforeUndefine()
    Unit<FlowGraph>.EnsureDefined()
    Unit<FlowGraph>.Define()
    Unit<FlowGraph>.RemoveUnconnectedInvalidPorts()
    Unit<FlowGraph>.OnGraphStructureChanged()
    Unit<FlowGraph>.controlInputs
    Unit<FlowGraph>.controlOutputs
    Unit<FlowGraph>.valueInputs
    Unit<FlowGraph>.valueOutputs
    Unit<FlowGraph>.invalidInputs
    Unit<FlowGraph>.invalidOutputs
    Unit<FlowGraph>.inputs
    Unit<FlowGraph>.outputs
    Unit<FlowGraph>.validInputs
    Unit<FlowGraph>.validOutputs
    Unit<FlowGraph>.ports
    Unit<FlowGraph>.invalidPorts
    Unit<FlowGraph>.validPorts
    Unit<FlowGraph>.controlInputsData
    Unit<FlowGraph>.controlOutputsData
    Unit<FlowGraph>.valueInputsData
    Unit<FlowGraph>.valueOutputsData
    Unit<FlowGraph>.IUnit.controlInputsData
    Unit<FlowGraph>.IUnit.controlOutputsData
    Unit<FlowGraph>.IUnit.valueInputsData
    Unit<FlowGraph>.IUnit.valueOutputsData
    Unit<FlowGraph>.relations
    Unit<FlowGraph>.connections
    Unit<FlowGraph>.Disconnect()
    Unit<FlowGraph>.ControlInput(String, Func<Flow, ControlOutput>)
    Unit<FlowGraph>.ControlInputCoroutine(String, Func<Flow, IEnumerator>)
    Unit<FlowGraph>.ControlInputCoroutine(String, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    Unit<FlowGraph>.ControlInput(ControlInputDefinition, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    Unit<FlowGraph>.ControlOutput(String)
    Unit<FlowGraph>.ControlOutput(ControlOutputDefinition)
    Unit<FlowGraph>.ValueInput(HybridType, String)
    Unit<FlowGraph>.ValueInput<T>(String)
    Unit<FlowGraph>.ValueInput<T>(String, T)
    Unit<FlowGraph>.ValueInput(ValueInputDefinition)
    Unit<FlowGraph>.ValueOutput(HybridType, String)
    Unit<FlowGraph>.ValueOutput(HybridType, String, Func<Flow, Object>)
    Unit<FlowGraph>.ValueOutput<T>(String)
    Unit<FlowGraph>.ValueOutput<T>(String, Func<Flow, T>)
    Unit<FlowGraph>.ValueOutput(ValueOutputDefinition)
    Unit<FlowGraph>.ValueOutput(ValueOutputDefinition, Func<Flow, Object>)
    Unit<FlowGraph>.Requirement(ValueInput, ControlInput)
    Unit<FlowGraph>.Requirement(ValueInput, ValueOutput)
    Unit<FlowGraph>.Assignment(ValueOutput, ValueOutput)
    Unit<FlowGraph>.Assignment(ControlInput, ValueOutput)
    Unit<FlowGraph>.Succession(ControlInput, ControlOutput)
    Unit<FlowGraph>.Succession(ControlOutput, ControlOutput)
    Unit<FlowGraph>.Delegation(ValueOutput, ControlOutput)
    Unit<FlowGraph>.position
    Unit<FlowGraph>.definitionException
    Unit<FlowGraph>.OnBeforeSerialize()
    Unit<FlowGraph>.OnAfterDeserialize()
    GraphElement<FlowGraph>.guid
    GraphElement<FlowGraph>.modules
    GraphElement<FlowGraph>.IGraphChild.associatedElement
    GraphElement<FlowGraph>.requiresInstantiation
    GraphElement<FlowGraph>.Instantiate(GraphReference)
    GraphElement<FlowGraph>.Uninstantiate(GraphReference)
    GraphElement<FlowGraph>.INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph)
    GraphElement<FlowGraph>.INotifiedCollectionChild<IGraph>.AfterAdd(IGraph)
    GraphElement<FlowGraph>.INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph)
    GraphElement<FlowGraph>.INotifiedCollectionChild<IGraph>.AfterRemove(IGraph)
    GraphElement<FlowGraph>.BeforeAdd(FlowGraph)
    GraphElement<FlowGraph>.AfterRemove(FlowGraph)
    GraphElement<FlowGraph>.dependencyOrder
    GraphElement<FlowGraph>.HandleDependencies()
    GraphElement<FlowGraph>.parentGraph
    GraphElement<FlowGraph>.ICollectionChild<IGraph>.parent
    GraphElement<FlowGraph>.IGraphChild.parentGraph
    GraphElement<FlowGraph>.deserializationDependencies
    GraphElement<FlowGraph>.IsDisposed
    GraphElement<FlowGraph>.ToString()
    GraphElement<FlowGraph>.PropertyChanged
    GraphElement<FlowGraph>.OnPropertyChanged(Object, PropertyChangedEventArgs)
    GraphElement<FlowGraph>.OnPropertyChanged(String)
    Namespace: Ludiq.Bolt
    Syntax
    public sealed class TweenMember : MemberUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver

    Constructors

    TweenMember()

    Declaration
    public TweenMember()

    TweenMember(Member, BoltType)

    Declaration
    public TweenMember(Member member, BoltType boltTargetType = null)
    Parameters
    Type Name Description
    Member member
    BoltType boltTargetType

    Properties

    advanced

    Whether or not to show advanced options for this tween.

    Declaration
    [DoNotSerialize]
    [Inspectable]
    public bool advanced { get; set; }
    Property Value
    Type Description
    Boolean

    autokill

    Whether or not this tween should be auto-killed.

    Declaration
    [DoNotSerialize]
    public ValueInput autokill { get; }
    Property Value
    Type Description
    ValueInput

    canDefine

    Declaration
    public override bool canDefine { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    MemberUnit.canDefine

    duration

    The duration of the tween to perform.

    Declaration
    [DoNotSerialize]
    public ValueInput duration { get; }
    Property Value
    Type Description
    ValueInput

    ease

    The duration of the tween to perform.

    Declaration
    [DoNotSerialize]
    public ValueInput ease { get; }
    Property Value
    Type Description
    ValueInput

    easingMode

    The kind of easing to use for this tween.

    Declaration
    [DoNotSerialize]
    [Inspectable]
    public TweenMember.EasingMode easingMode { get; set; }
    Property Value
    Type Description
    TweenMember.EasingMode

    enter

    The entry point to start the tween.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay(showLabel = false, showDocumentation = false)]
    public ControlInput enter { get; }
    Property Value
    Type Description
    ControlInput

    exit

    The action to execute immediately after the tween has been started.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay(order = 0)]
    public ControlOutput exit { get; }
    Property Value
    Type Description
    ControlOutput

    id

    Whether or not this tween should relative.

    Declaration
    [DoNotSerialize]
    public ValueInput id { get; }
    Property Value
    Type Description
    ValueInput

    loops

    Number of times to loop the tween.

    Declaration
    [DoNotSerialize]
    public ValueInput loops { get; }
    Property Value
    Type Description
    ValueInput

    loopType

    How to loop the tween.

    Declaration
    [DoNotSerialize]
    public ValueInput loopType { get; }
    Property Value
    Type Description
    ValueInput

    onComplete

    The action to execute when the tween is fully completed, after all loops.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Complete", order = 8)]
    public ControlOutput onComplete { get; }
    Property Value
    Type Description
    ControlOutput

    onKill

    The action to execute when the tween is killed.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Kill", order = 7)]
    public ControlOutput onKill { get; }
    Property Value
    Type Description
    ControlOutput

    onPause

    The action to execute when the tween state changes from playing to paused. If the tween has autokill set to false, this is also called when the tween reaches completion.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Pause", order = 3)]
    public ControlOutput onPause { get; }
    Property Value
    Type Description
    ControlOutput

    onPlay

    The action to execute when the tween is set to a playing state, or resumed from a paused state.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Play", order = 2)]
    public ControlOutput onPlay { get; }
    Property Value
    Type Description
    ControlOutput

    onRewind

    The action to execute when the twewen is rewinded manually. Also fires when the tween reaches the start position when playing backwards. Not fired again on a tween that is already rewinded is asked to rewind.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Rewind", order = 4)]
    public ControlOutput onRewind { get; }
    Property Value
    Type Description
    ControlOutput

    onStart

    The action to execute when the tween actually starts.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Start", order = 1)]
    public ControlOutput onStart { get; }
    Property Value
    Type Description
    ControlOutput

    onStepComplete

    The action to execute when a tween completes a single loop cycle.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Step", order = 6)]
    public ControlOutput onStepComplete { get; }
    Property Value
    Type Description
    ControlOutput

    recyclable

    Whether or not this tween is recyclable.

    Declaration
    [DoNotSerialize]
    public ValueInput recyclable { get; }
    Property Value
    Type Description
    ValueInput

    relative

    Whether or not this tween should relative.

    Declaration
    [DoNotSerialize]
    public ValueInput relative { get; }
    Property Value
    Type Description
    ValueInput

    timescaleIndependent

    Whether the tween should be timescale independent.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay("Unscaled")]
    public ValueInput timescaleIndependent { get; }
    Property Value
    Type Description
    ValueInput

    tween

    The tween that is created after this unit has been entered.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay(showLabel = false, primary = true)]
    public ValueOutput tween { get; }
    Property Value
    Type Description
    ValueOutput

    update

    The action to execute every time the tween gets updated.

    Declaration
    [DoNotSerialize]
    [UnitPortDisplay(order = 5)]
    public ControlOutput update { get; }
    Property Value
    Type Description
    ControlOutput

    updateType

    The type of update event to execute for this tween.

    Declaration
    [DoNotSerialize]
    public ValueInput updateType { get; }
    Property Value
    Type Description
    ValueInput

    value

    The value to tween towards.

    Declaration
    [UnitPortDisplay("Target")]
    [DoNotSerialize]
    public ValueInput value { get; }
    Property Value
    Type Description
    ValueInput

    Methods

    Definition()

    Declaration
    protected override void Definition()
    Overrides
    MemberUnit.Definition()

    IsMemberValid(Member)

    Declaration
    protected override bool IsMemberValid(Member member)
    Parameters
    Type Name Description
    Member member
    Returns
    Type Description
    Boolean
    Overrides
    MemberUnit.IsMemberValid(Member)

    IsTweenable(Member)

    Declaration
    public static bool IsTweenable(Member member)
    Parameters
    Type Name Description
    Member member
    Returns
    Type Description
    Boolean

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone(Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy(Object)
    Cloning.CloneViaSerializationPolicy(Object, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy<T>(T)
    Cloning.CloneViaSerializationPolicy<T>(T, out Dictionary<Object, Object>)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneValueType(Object)
    ConversionUtility.ConvertTo<TSource>(TSource, Type)
    ConversionUtility.IsLateConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsLateConvertibleTo<T>(Object, Boolean)
    ConversionUtility.LateConvertTo(Object, Type)
    ConversionUtility.LateConvertTo<T>(Object)
    ConversionUtility.TryLateConvertTo(Object, Type, out Object, Boolean)
    ConversionUtility.TryLateConvertTo<T>(Object, out T, Boolean)
    TypeUtility.ToShortString(Object, Int32)
    TypeUtility.CastTo<T>(Object)
    Serialization.FullSerialize(Object, Boolean)
    Serialization.OdinSerialize<T>(T, DataFormat)
    Serialization.OdinSerialize<T>(T, ref OdinSerializer.SerializationData, DataFormat)
    XObservableDisposable.EnsureNotDisposed(IObservableDisposable)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    BoltGenerationUtility.GenerateLiteral(Object, IGeneration)
    XGeneratorProvider.Generator(Object, IGeneration)
    XGeneratorProvider.Generator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.HasGenerator(Object, IGeneration)
    XGeneratorProvider.HasGenerator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.TryGetGenerator(Object, out IGenerator, IGeneration)
    XGeneratorProvider.TryGetGenerator<TGenerator>(Object, IGeneration, out TGenerator)
    XUnitOptionProvider.Option(IUnit)
    XUnitOptionProvider.Option<TOption>(IUnit)
    HybridConversionUtility.ConvertTo(Object, HybridType, HybridType)
    HybridConversionUtility.IsLateConvertibleTo(Object, HybridType, Boolean)
    HybridConversionUtility.LateConvertTo(Object, HybridType)
    HybridConversionUtility.TryLateConvertTo(Object, HybridType, out Object, Boolean)
    HybridTypeUtility.GetHybridType(Object)
    IsUtility.Is<TO, TC>(TO, out TC)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.ClearExceptionInHierarchy(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    XUnit.CompatibleValueInput(IUnit, HybridType)
    XUnit.CompatibleValueOutput(IUnit, HybridType)
    UnitDefinitionUtility.DefineControlInput(IUnit, String, Func<Flow, ControlOutput>)
    UnitDefinitionUtility.DefineControlInputCoroutine(IUnit, String, Func<Flow, IEnumerator>)
    UnitDefinitionUtility.DefineControlInputCoroutine(IUnit, String, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    UnitDefinitionUtility.DefineControlInput(IUnit, ControlInputDefinition, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    UnitDefinitionUtility.DefineControlOutput(IUnit, String)
    UnitDefinitionUtility.DefineControlOutput(IUnit, ControlOutputDefinition)
    UnitDefinitionUtility.DefineValueInput(IUnit, HybridType, String)
    UnitDefinitionUtility.DefineValueInput<T>(IUnit, String)
    UnitDefinitionUtility.DefineValueInput<T>(IUnit, String, T)
    UnitDefinitionUtility.DefineValueInput(IUnit, ValueInputDefinition)
    UnitDefinitionUtility.DefineValueOutput(IUnit, HybridType, String)
    UnitDefinitionUtility.DefineValueOutput(IUnit, HybridType, String, Func<Flow, Object>)
    UnitDefinitionUtility.DefineValueOutput<T>(IUnit, String)
    UnitDefinitionUtility.DefineValueOutput<T>(IUnit, String, Func<Flow, T>)
    UnitDefinitionUtility.DefineValueOutput(IUnit, ValueOutputDefinition)
    UnitDefinitionUtility.DefineValueOutput(IUnit, ValueOutputDefinition, Func<Flow, Object>)
    UnitDefinitionUtility.DefineRequirement(IUnit, ValueInput, ControlInput)
    UnitDefinitionUtility.DefineRequirement(IUnit, ValueInput, ValueOutput)
    UnitDefinitionUtility.DefineAssignment(IUnit, ValueOutput, ValueOutput)
    UnitDefinitionUtility.DefineAssignment(IUnit, ControlInput, ValueOutput)
    UnitDefinitionUtility.DefineSuccession(IUnit, ControlInput, ControlOutput)
    UnitDefinitionUtility.DefineSuccession(IUnit, ControlOutput, ControlOutput)
    UnitDefinitionUtility.DefineDelegation(IUnit, ValueOutput, ControlOutput)
    PrivateReflectionUsingDynamicExtensions.AsDynamic(Object)
    JsonWriter.ToJson(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX