Static variables

@:value("touchBegin3d")staticinlineread onlyTOUCH_BEGIN:String = "touchBegin3d"

@:value("touchEnd3d")staticinlineread onlyTOUCH_END:String = "touchEnd3d"

@:value("touchMove3d")staticinlineread onlyTOUCH_MOVE:String = "touchMove3d"

@:value("touchOut3d")staticinlineread onlyTOUCH_OUT:String = "touchOut3d"

@:value("touchOver3d")staticinlineread onlyTOUCH_OVER:String = "touchOver3d"

Constructor

new(type:String)

Create a new TouchEvent3D object.

Parameters:

type

The type of the TouchEvent3D.

Variables

altKey:Bool

Indicates whether the Alt key is active (true) or inactive (false).

ctrlKey:Bool

Indicates whether the Control key is active (true) or inactive (false).

index:Int

The index of the face where the event took place.

localNormal:Vector3D

The normal in object space where the event took place

localPosition:Vector3D

The position in object space where the event took place

material:MaterialBase

The material of the 3d element inside which the event took place.

object:ObjectContainer3D

The 3d object inside which the event took place.

renderable:IRenderable

The renderable inside which the event took place.

read onlysceneNormal:Vector3D

read onlyscenePosition:Vector3D

screenX:Float

The horizontal coordinate at which the event occurred in view coordinates.

screenY:Float

The vertical coordinate at which the event occurred in view coordinates.

shiftKey:Bool

Indicates whether the Shift key is active (true) or inactive (false).

subGeometryIndex:Int

The index of the subGeometry where the event took place.

uv:Point

The uv coordinate inside the draw primitive where the event took place.

view:View3D

The view object inside which the event took place.

Methods

clone():Event

Creates a copy of the TouchEvent3D object and sets the value of each property to match that of the original.

stopImmediatePropagation():Void

@inheritDoc

stopPropagation():Void

@inheritDoc