![]() |
Lumino
|
箱型の衝突判定形状です。 More...
#include <CollisionShape.hpp>
Static Public Member Functions | |
static Ref< BoxCollisionShape > | create (const Vector3 &size) |
BoxCollisionShape オブジェクトを作成します。 More... | |
static Ref< BoxCollisionShape > | create (float x, float y, float z) |
BoxCollisionShape オブジェクトを作成します。 More... | |
Protected Member Functions | |
bool | init (const Vector3 &size) |
init | |
bool | init (float width, float height, float depth) |
init | |
Additional Inherited Members | |
![]() | |
void | setTrigger (bool enabled) |
この CollisionShape が衝突判定のためのトリガーであるかを設定します。初期値は false です。 | |
bool | isTrigger () const |
この CollisionShape が衝突判定のためのトリガーであるかを取得します。 | |
void | setPosition (const Vector3 &value) |
この形状のローカルオフセットを設定します。 | |
const Vector3 & | position () const |
この形状のローカルオフセットを取得します。 | |
箱型の衝突判定形状です。
|
static |
BoxCollisionShape オブジェクトを作成します。
[in] | size | : 各辺の幅 |
|
static |
BoxCollisionShape オブジェクトを作成します。
[in] | x,y,z | : 各辺の幅 |