C# 클래스 SharpNeat.DomainsExtra.Box2D.SimulationParameters

Represents some generic / high level Box2d simulation parameters.
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_continuousPhysics bool
_defaultDensity float
_defaultFriction float
_defaultRestitution float
_frameRate int
_gravity float
_lowerBoundPhysics Box2DX.Common.Vec2
_lowerBoundView Box2DX.Common.Vec2
_positionIters int
_timeStep float
_upperBoundPhysics Box2DX.Common.Vec2
_upperBoundView Box2DX.Common.Vec2
_velocityIters int
_warmStarting bool

프로퍼티 상세

_continuousPhysics 공개적으로 프로퍼티

Enable additional collision detection for high speed objects (that might not ever contact each other at a given timestep due to speed).
public bool _continuousPhysics
리턴 bool

_defaultDensity 공개적으로 프로퍼티

Default density.
public float _defaultDensity
리턴 float

_defaultFriction 공개적으로 프로퍼티

Default friction.
public float _defaultFriction
리턴 float

_defaultRestitution 공개적으로 프로퍼티

Default restitution.
public float _defaultRestitution
리턴 float

_frameRate 공개적으로 프로퍼티

Update rate in Hertz. Inverse of the simulation timestep increment, e.g. 60Hz = 16ms timestep.
public int _frameRate
리턴 int

_gravity 공개적으로 프로퍼티

World gravity, e.g. -9.8. (+ve Y is up).
public float _gravity
리턴 float

_lowerBoundPhysics 공개적으로 프로퍼티

Bottom left corner of physics rectangle (the area which for which physics is simulated/calculated)
public Vec2,Box2DX.Common _lowerBoundPhysics
리턴 Box2DX.Common.Vec2

_lowerBoundView 공개적으로 프로퍼티

Bottom left corner of view rectangle (default rectangle for visual rendering of the world; typically the same or slightly smaller than the physics rectangle).
public Vec2,Box2DX.Common _lowerBoundView
리턴 Box2DX.Common.Vec2

_positionIters 공개적으로 프로퍼티

Box2d position constraint solver iterations per loop.
public int _positionIters
리턴 int

_timeStep 공개적으로 프로퍼티

See _frameRate.
public float _timeStep
리턴 float

_upperBoundPhysics 공개적으로 프로퍼티

Upper right corner of physics rectangle (the area which for which physics is simulated/calculated)
public Vec2,Box2DX.Common _upperBoundPhysics
리턴 Box2DX.Common.Vec2

_upperBoundView 공개적으로 프로퍼티

Bottom left corner of view rectangle (default rectangle for visual rendering of the world; typically the same or slightly smaller than the physics rectangle).
public Vec2,Box2DX.Common _upperBoundView
리턴 Box2DX.Common.Vec2

_velocityIters 공개적으로 프로퍼티

Box2d velocity constraint solver iterations per loop.
public int _velocityIters
리턴 int

_warmStarting 공개적으로 프로퍼티

Allow physics calcs to use values from previous timestep.
public bool _warmStarting
리턴 bool