shamansir / elm-aframe / AFrame.Primitives.Cursor

Cursor primitive.

Definitions

cursor : List (Html.Attribute msg) -> List (Html msg) -> Html msg

The cursor primitive places a reticle or crosshair to add clicking and interactivity with the scene.

Attributes

fuse : Basics.Bool -> Html.Attribute msg

Whether cursor should also be fuse-based.

maxDistance : Basics.Float -> Html.Attribute msg

Maximum distance to check for intersections on entities for clicks.

timeout : Basics.Int -> Html.Attribute msg

How long to wait (in milliseconds) to trigger a click event if fuse-based.

raycaster : String -> Html.Attribute msg

Customize the raycasting pieces of the cursor.