reckfellENGINE

MethodTweener

Configure a MethodTweener command within a Tween sequence.

On this page
class MethodTweenerReckfellSharpInherits Tweener

Obtain MethodTweener through a valid Tween TweenMethod(); direct construction is invalid. The command is already appended to the parent. Configure before processing; fluent methods return the same wrapper rather than an independent copy.

Callback accepts one interpolated from→to value. Delay is separate from duration; override Transition/Ease for this command if needed. A numeric callback was tested with manual steps; visual smoothness was not assessed.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

MethodTweenerConstructor
# MethodTweener
C#
public MethodTweener();

Do not call new MethodTweener(): its native constructor emits an error. Create through Tween.TweenMethod on a valid Tween; this is a sequence command rather than a standalone timer/animation.

Methods3

SetDelayMethodTweener
# SetDelay
C#
public MethodTweener SetDelay(double delay);

Delays the first interpolated-method call; duration starts after the delay. Callback receives one current value rather than elapsed time or a frame index. No early call and easing after delay were tested. Configure before starting; negative/nonfinite durations were not accepted.

Parameters
NameTypeDefault
delaydouble—
delay

Nonnegative finite delay in Tween seconds.

Returns MethodTweener

The same command object for configuration, not an independent copy. From can yield null for an invalid state/type.

SetEaseMethodTweener
# SetEase
C#
public MethodTweener SetEase(Tween.EaseType ease);

Sets this command easing, overriding the parent default. Configure after factory creation and before processing. Changes neither duration nor neighboring commands.

Parameters
NameTypeDefault
easeTween.EaseType—
ease

Valid EaseType for this command.

Returns MethodTweener

The same command object for configuration, not an independent copy. From can yield null for an invalid state/type.

SetTransMethodTweener
# SetTrans
C#
public MethodTweener SetTrans(Tween.TransitionType trans);

Sets this command transition. Overrides captured parent defaults here without changing neighbors. Quad with Ease.In at half duration was tested.

Parameters
NameTypeDefault
transTween.TransitionType—
trans

Valid TransitionType for this command.

Returns MethodTweener

The same command object for configuration, not an independent copy. From can yield null for an invalid state/type.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.