Table of Contents

Class MassMotion

Lerps the Rigidbody.mass value.

public class MassMotion : AbstractFloatMotion<Rigidbody>, ITweenMotion, IMotion
Inheritance
MassMotion
Implements
Inherited Members
Extension Methods

Constructors

MassMotion(Rigidbody, float?, float)

public MassMotion(Rigidbody item, float? from, float to)

Parameters

item Rigidbody
from float?
to float

MassMotion(Rigidbody, float)

public MassMotion(Rigidbody item, float value)

Parameters

item Rigidbody
value float

Methods

GetFrom()

protected override float GetFrom()

Returns

float

SetValue(float)

protected override void SetValue(float value)

Parameters

value float