Méthode | Description | |
---|---|---|
getSupport ( Vector2 direction ) : int |
Get the supporting vertex index in the given direction.
|
|
getSupportVertex ( Vector2 direction ) : Vector2 |
Get the supporting vertex in the given direction.
|
|
set ( |
Initialize the proxy using the given shape. The shape must remain in scope while the proxy is in use.
|
public getSupport ( Vector2 direction ) : int | ||
direction | Vector2 | The direction. |
Résultat | int |
public getSupportVertex ( Vector2 direction ) : Vector2 | ||
direction | Vector2 | The direction. |
Résultat | Vector2 |
public set ( |
||
shape | The shape. | |
index | int | The index. |
Résultat | void |