Udostępnij za pośrednictwem


Vector2NaturalMotionAnimation.InitialVelocity Property

Definition

Gets or sets the velocity that the animation starts with.

public:
 property float2 InitialVelocity { float2 get(); void set(float2 value); };
float2 InitialVelocity();

void InitialVelocity(float2 value);
public Vector2 InitialVelocity { get; set; }
var vector2 = vector2NaturalMotionAnimation.initialVelocity;
vector2NaturalMotionAnimation.initialVelocity = vector2;
Public Property InitialVelocity As Vector2

Property Value

Vector2 Vector2

float2

The velocity that the animation starts with. The default is 0.

Applies to