![]() |
Lumino
|
無限平面の衝突判定形状です。 More...
#include <CollisionShape.hpp>
Static Public Member Functions | |
static Ref< PlaneCollisionShape > | create (const Vector3 &direction=Vector3::UnitY) |
PlaneCollisionShape オブジェクトを作成します。 More... | |
Additional Inherited Members | |
![]() | |
void | setTrigger (bool enabled) |
この CollisionShape が衝突判定のためのトリガーであるかを設定します。初期値は false です。 | |
bool | isTrigger () const |
この CollisionShape が衝突判定のためのトリガーであるかを取得します。 | |
void | setPosition (const Vector3 &value) |
この形状のローカルオフセットを設定します。 | |
const Vector3 & | position () const |
この形状のローカルオフセットを取得します。 | |
無限平面の衝突判定形状です。
|
static |
PlaneCollisionShape オブジェクトを作成します。
[in] | direction | : 面の正面方向 (省略した場合は Y+ 方向) |