Table of Contents

Class LerpArgs

Namespace
TrinketTinker.Models.MotionArgs
Assembly
TrinketTinker.dll

Lerp args

public class LerpArgs : IArgs
Inheritance
LerpArgs
Implements
Derived
Inherited Members

Properties

Jitter

While within the minimum range, randomly move around a little bit.

public float Jitter { get; set; }

Property Value

float

Max

Max distance from anchor, if the companion is farther away than this, teleport.

public float Max { get; set; }

Property Value

float

Min

Min distance from anchor, the companion does not move until they are this far from the anchor.

public float Min { get; set; }

Property Value

float

MoveSync

Stop moving as soon as the player stops moving, only if the anchor is Owner.

public bool MoveSync { get; set; }

Property Value

bool

MoveSyncAll

Stop moving as soon as the player stops moving.

public bool MoveSyncAll { get; set; }

Property Value

bool

NoOverlap

When the player has multiple companions, avoid moving into the bounding box of another

public bool NoOverlap { get; set; }

Property Value

bool

Pause

Pause between lerp retargeting, in ms

public float Pause { get; set; }

Property Value

float

Rate

Lerp rate in miliseconds

public double Rate { get; set; }

Property Value

double

Velocity

Max velocity, -1 to match farmer, -2 for unlimited

public float Velocity { get; set; }

Property Value

float

Methods

Validate()

Checks if the given arguments are valid, potentially modify arguments to ensure they are valid

public bool Validate()

Returns

bool

true if valid