Lumino
ln::CollisionShape Class Reference

衝突判定のためのオブジェクト形状のベースクラスです。 More...

#include <CollisionShape.hpp>

Inheritance diagram for ln::CollisionShape:
ln::BoxCollisionShape ln::CapsuleCollisionShape ln::PlaneCollisionShape ln::SphereCollisionShape

Public Member Functions

void setTrigger (bool enabled)
 この CollisionShape が衝突判定のためのトリガーであるかを設定します。初期値は false です。
 
bool isTrigger () const
 この CollisionShape が衝突判定のためのトリガーであるかを取得します。
 
void setPosition (const Vector3 &value)
 この形状のローカルオフセットを設定します。
 
const Vector3position () const
 この形状のローカルオフセットを取得します。
 

Detailed Description

衝突判定のためのオブジェクト形状のベースクラスです。


The documentation for this class was generated from the following file: