Lumino
ln::Raycaster Class Reference

レイキャスティングを支援するためのクラスです。 More...

#include <Raycaster.hpp>

Inherits ln::Object.

Public Member Functions

RaycastResultintersectPlane (float normalX, float normalY, float normalZ) const
 ワールド座標上の交差点 More...
 

Static Public Member Functions

static RaycasterfromScreen (const Point &point)
 メインのカメラを使用して、指定したスクリーン座標から正面に向かうレイを定義した Raycaster を取得します。
 

Detailed Description

レイキャスティングを支援するためのクラスです。

Member Function Documentation

◆ intersectPlane()

RaycastResult* ln::Raycaster::intersectPlane ( float  normalX,
float  normalY,
float  normalZ 
) const
inline

ワールド座標上の交差点

指定した向きの平面との交差判定を行います。


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