C# 클래스 NewTOAPIA.Modeling.MassSpringCurve

상속: ParticleSystem
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
Constant ( int i ) : System.Single
ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3

The default external force is zero. To provide nonzero external forces, a subclass can override this method and supply forces such as gravity, wind, friction, and the like. This function is called from the Acceleration()... method, to append the acceleration F/m generated by the external force F.

Length ( int i ) : System.Single
MassSpringCurve ( int iNumParticles, System.Single fStep ) : System
Render ( NewTOAPIA gi ) : void

보호된 메소드들

메소드 설명
Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
InitializeParticle ( int index ) : void

메소드 상세

Acceleration() 보호된 메소드

protected Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
i int
fTime System.Single
akPosition float3
akVelocity float3
리턴 float3

Constant() 공개 메소드

public Constant ( int i ) : System.Single
i int
리턴 System.Single

ExternalAcceleration() 공개 메소드

The default external force is zero. To provide nonzero external forces, a subclass can override this method and supply forces such as gravity, wind, friction, and the like. This function is called from the Acceleration()... method, to append the acceleration F/m generated by the external force F.
public ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
i int
fTime System.Single
akPosition float3
akVelocity float3
리턴 float3

InitializeParticle() 보호된 메소드

protected InitializeParticle ( int index ) : void
index int
리턴 void

Length() 공개 메소드

public Length ( int i ) : System.Single
i int
리턴 System.Single

MassSpringCurve() 공개 메소드

public MassSpringCurve ( int iNumParticles, System.Single fStep ) : System
iNumParticles int
fStep System.Single
리턴 System

Render() 공개 메소드

public Render ( NewTOAPIA gi ) : void
gi NewTOAPIA
리턴 void