class MAGES::Interaction::MAGESGraphicRaycaster

Overview

A raycaster for performing raycasts against the scene from UIInteractors. More…

class MAGESGraphicRaycaster: public BaseRaycaster
{
public:
    // structs

    struct RaycastHitData;

    // properties

    List Raycasters;
    override Camera eventCamera;

    // methods

    override void Raycast(
        PointerEventData eventData,
        List resultAppendList
    );
};

Detailed Documentation

A raycaster for performing raycasts against the scene from UIInteractors.

Properties

List Raycasters

Gets a list with all the raycasters in the scene currently enabled.

Methods

override void Raycast(
    PointerEventData eventData,
    List resultAppendList
)

Raycast against the scene.

Parameters:

eventData

Current event data.

resultAppendList

List of hit Objects.