C# 클래스 FarseerPhysics.Common.Settings

파일 보기 프로젝트 열기: scastle/Solitude

공개 프로퍼티들

프로퍼티 타입 설명
AllowSleep bool
ContinuousPhysics bool
EnableDiagnostics bool
EnableWarmstarting bool
PositionIterations int
VelocityIterations int

공개 메소드들

메소드 설명
MixFriction ( float friction1, float friction2 ) : float

Friction mixing law. Feel free to customize this.

MixRestitution ( float restitution1, float restitution2 ) : float

Restitution mixing law. Feel free to customize this.

메소드 상세

MixFriction() 공개 정적인 메소드

Friction mixing law. Feel free to customize this.
public static MixFriction ( float friction1, float friction2 ) : float
friction1 float The friction1.
friction2 float The friction2.
리턴 float

MixRestitution() 공개 정적인 메소드

Restitution mixing law. Feel free to customize this.
public static MixRestitution ( float restitution1, float restitution2 ) : float
restitution1 float The restitution1.
restitution2 float The restitution2.
리턴 float

프로퍼티 상세

AllowSleep 공개적으로 정적으로 프로퍼티

Enable/Disable sleeping
public static bool AllowSleep
리턴 bool

ContinuousPhysics 공개적으로 정적으로 프로퍼티

Enable/Disable CCD
public static bool ContinuousPhysics
리턴 bool

EnableDiagnostics 공개적으로 정적으로 프로퍼티

Enabling diagnistics causes the engine to gather timing information. You can see how much time it took to solve the contacts, solve CCD and even how long it took to update the controllers.
public static bool EnableDiagnostics
리턴 bool

EnableWarmstarting 공개적으로 정적으로 프로퍼티

Enable/Disable warmstarting
public static bool EnableWarmstarting
리턴 bool

PositionIterations 공개적으로 정적으로 프로퍼티

The number of position iterations used in the solver.
public static int PositionIterations
리턴 int

VelocityIterations 공개적으로 정적으로 프로퍼티

The number of velocity iterations used in the solver.
public static int VelocityIterations
리턴 int