C# 클래스 Box2DX.Collision.ShapeDef

파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Density float
Filter FilterData
Friction float
IsSensor bool
Restitution float
Type ShapeType
UserData object

공개 메소드들

메소드 설명
ShapeDef ( ) : System

The constructor sets the default shape definition values.

메소드 상세

ShapeDef() 공개 메소드

The constructor sets the default shape definition values.
public ShapeDef ( ) : System
리턴 System

프로퍼티 상세

Density 공개적으로 프로퍼티

The shape's density, usually in kg/m^2.
public float Density
리턴 float

Filter 공개적으로 프로퍼티

Contact filtering data.
public FilterData Filter
리턴 FilterData

Friction 공개적으로 프로퍼티

The shape's friction coefficient, usually in the range [0,1].
public float Friction
리턴 float

IsSensor 공개적으로 프로퍼티

A sensor shape collects contact information but never generates a collision response.
public bool IsSensor
리턴 bool

Restitution 공개적으로 프로퍼티

The shape's restitution (elasticity) usually in the range [0,1].
public float Restitution
리턴 float

Type 공개적으로 프로퍼티

Holds the shape type for down-casting.
public ShapeType Type
리턴 ShapeType

UserData 공개적으로 프로퍼티

Use this to store application specify shape data.
public object UserData
리턴 object