C# 클래스 BEPUphysics.CollisionShapes.CompoundShapeEntry

Contains a shape and its local transform relative to its owning compound shape. This is used to construct compound shapes.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LocalTransform BEPUutilities.RigidTransform
Shape EntityShape
Weight float

공개 메소드들

메소드 설명
CompoundShapeEntry ( EntityShape shape ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, Quaternion orientation ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, Quaternion orientation, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, System.Vector3 position ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, System.Vector3 position, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

CompoundShapeEntry ( EntityShape shape, float weight ) : System

Constructs a new compound shape entry using the volume of the shape as a weight.

메소드 상세

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape ) : System
shape EntityShape Shape to use.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, Quaternion orientation ) : System
shape EntityShape Shape to use.
orientation Quaternion Local orientation of the shape.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, Quaternion orientation, float weight ) : System
shape EntityShape Shape to use.
orientation Quaternion Local orientation of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform ) : System
shape EntityShape Shape to use.
localTransform BEPUutilities.RigidTransform Local transform of the shape.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, RigidTransform localTransform, float weight ) : System
shape EntityShape Shape to use.
localTransform BEPUutilities.RigidTransform Local transform of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, System.Vector3 position ) : System
shape EntityShape Shape to use.
position System.Vector3 Local position of the shape.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, System.Vector3 position, float weight ) : System
shape EntityShape Shape to use.
position System.Vector3 Local position of the shape.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of mass and inertia computation.
리턴 System

CompoundShapeEntry() 공개 메소드

Constructs a new compound shape entry using the volume of the shape as a weight.
public CompoundShapeEntry ( EntityShape shape, float weight ) : System
shape EntityShape Shape to use.
weight float Weight of the entry. This defines how much the entry contributes to its owner /// for the purposes of center of rotation computation.
리턴 System

프로퍼티 상세

LocalTransform 공개적으로 프로퍼티

Local transform of the shape relative to its owning compound shape.
public RigidTransform,BEPUutilities LocalTransform
리턴 BEPUutilities.RigidTransform

Shape 공개적으로 프로퍼티

Shape used by the compound.
public EntityShape,BEPUphysics.CollisionShapes Shape
리턴 EntityShape

Weight 공개적으로 프로퍼티

Weight of the entry. This defines how much the entry contributes to its owner for the purposes of center of rotation computation.
public float Weight
리턴 float