C# Class FlatRedBall.Math.Splines.SplinePoint

A point in a Spline storing position, velocity, acceleration, and time information.
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
Acceleration Microsoft.DirectX.Vector3
Position Microsoft.DirectX.Vector3
Time double
UseCustomVelocityValue bool
Velocity Microsoft.DirectX.Vector3

Méthodes publiques

Méthode Description
Clone ( ) : object
SplinePoint ( ) : System
SplinePoint ( float x, float y, float z, double time ) : System
ToString ( ) : string

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

SplinePoint() public méthode

public SplinePoint ( ) : System
Résultat System

SplinePoint() public méthode

public SplinePoint ( float x, float y, float z, double time ) : System
x float
y float
z float
time double
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Acceleration public_oe property

The acceleration set when passing through this SplinePoint. This property is usually automatically set by the containing Spline.
public Microsoft.DirectX.Vector3 Acceleration
Résultat Microsoft.DirectX.Vector3

Position public_oe property

The position of the SplinePoint in absolute world coordinates.
public Microsoft.DirectX.Vector3 Position
Résultat Microsoft.DirectX.Vector3

Time public_oe property

The time relative to the start of the Spline when an object moving through the Spline will pass through this point.
public double Time
Résultat double

UseCustomVelocityValue public_oe property

Controls whether the Velocity value is unchanged by calling CalculateVelocities on the Spline. By default this is false, which means velocity on this SplinePoint will be set according to the position of the neighboring SplinePoints. If this value is true, then the velocity on this will not be changed by Spline.CalculateVelocities.
public bool UseCustomVelocityValue
Résultat bool

Velocity public_oe property

The velocity of an object as it passes through this SplinePoint when moving along a Spline.
public Microsoft.DirectX.Vector3 Velocity
Résultat Microsoft.DirectX.Vector3