Lumino
ln::PlaneCollisionShape Class Reference

無限平面の衝突判定形状です。 More...

#include <CollisionShape.hpp>

Inheritance diagram for ln::PlaneCollisionShape:
ln::CollisionShape

Static Public Member Functions

static Ref< PlaneCollisionShapecreate (const Vector3 &direction=Vector3::UnitY)
 PlaneCollisionShape オブジェクトを作成します。 More...
 

Additional Inherited Members

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

Detailed Description

無限平面の衝突判定形状です。

Member Function Documentation

◆ create()

static Ref<PlaneCollisionShape> ln::PlaneCollisionShape::create ( const Vector3 direction = Vector3::UnitY)
static

PlaneCollisionShape オブジェクトを作成します。

Parameters
[in]direction: 面の正面方向 (省略した場合は Y+ 方向)

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