C# Класс FarseerPhysics.Collision.Shapes.CircleShape

Наследование: Shape
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CircleShape ( float radius, float density ) : System

Create a new circle with the desired radius and density.

CompareTo ( CircleShape shape ) : bool

Compare the circle to another circle

clone ( ) : Shape
computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
testPoint ( Transform &transform, Vector2 &point ) : bool

Защищенные методы

Метод Описание
computeProperties ( ) : void

Приватные методы

Метод Описание
CircleShape ( ) : System

Описание методов

CircleShape() публичный Метод

Create a new circle with the desired radius and density.
public CircleShape ( float radius, float density ) : System
radius float The radius of the circle.
density float The density of the circle.
Результат System

CompareTo() публичный Метод

Compare the circle to another circle
public CompareTo ( CircleShape shape ) : bool
shape CircleShape The other circle
Результат bool

clone() публичный Метод

public clone ( ) : Shape
Результат Shape

computeAABB() публичный Метод

public computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
aabb AABB
transform Transform
childIndex int
Результат void

computeProperties() защищенный закрытый Метод

protected final computeProperties ( ) : void
Результат void

computeSubmergedArea() публичный Метод

public computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
normal Vector2
offset float
xf Transform
sc Vector2
Результат float

rayCast() публичный Метод

public rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
output RayCastOutput
input RayCastInput
transform Transform
childIndex int
Результат bool

testPoint() публичный Метод

public testPoint ( Transform &transform, Vector2 &point ) : bool
transform Transform
point Vector2
Результат bool