C# 클래스 FlatRedBall.Math.Splines.SplinePoint

A point in a Spline storing position, velocity, acceleration, and time information.
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Acceleration Microsoft.DirectX.Vector3
Position Microsoft.DirectX.Vector3
Time double
UseCustomVelocityValue bool
Velocity Microsoft.DirectX.Vector3

공개 메소드들

메소드 설명
Clone ( ) : object
SplinePoint ( ) : System
SplinePoint ( float x, float y, float z, double time ) : System
ToString ( ) : string

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

SplinePoint() 공개 메소드

public SplinePoint ( ) : System
리턴 System

SplinePoint() 공개 메소드

public SplinePoint ( float x, float y, float z, double time ) : System
x float
y float
z float
time double
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Acceleration 공개적으로 프로퍼티

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

Position 공개적으로 프로퍼티

The position of the SplinePoint in absolute world coordinates.
public Microsoft.DirectX.Vector3 Position
리턴 Microsoft.DirectX.Vector3

Time 공개적으로 프로퍼티

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

UseCustomVelocityValue 공개적으로 프로퍼티

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
리턴 bool

Velocity 공개적으로 프로퍼티

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