h2d.Scene
h2d.Scene
Inherits from: h2d.Layers
Fields
| Name | Type | |
|---|---|---|
width | I32 | |
height | I32 | |
zoom | I32 | |
fixedSize | Bool | |
interactive | hl.types.ArrayObj | |
eventListeners | hl.types.ArrayObj | |
ctx | h2d.RenderContext | |
window | hxd.Window | |
events | hxd.SceneEvents | |
shapePoint | h2d.col.Point | |
| “ | Virtual[setEvents, isInteractiveVisible, handleEvent, dispatchListeners, dispatchEvent] | |
| “ | Virtual[] |
Protos
f@2763setEvents(h2d.Scene, hxd.SceneEvents) → Voidf@2764set_zoom(h2d.Scene, I32) → I32f@2765setFixedSize(h2d.Scene, I32, I32) → Voidf@2766checkResize(h2d.Scene) → Voidf@2767dispatchListeners(h2d.Scene, hxd.Event) → Voidf@2768isInteractiveVisible(h2d.Scene, Virtual[handleEvent, getInteractiveScene]) → Boolf@2769screenToLocal(h2d.Scene, hxd.Event) → Voidf@2770dispatchEvent(h2d.Scene, hxd.Event, Virtual[handleEvent, getInteractiveScene]) → Voidf@2771handleEvent(h2d.Scene, hxd.Event, Virtual[handleEvent, getInteractiveScene]) → Virtual[handleEvent, getInteractiveScene]f@2772startDrag(h2d.Scene, Fun, Fun, hxd.Event) → Voidf@2773stopDrag(h2d.Scene) → Voidf@2774addEventTarget(h2d.Scene, h2d.Interactive) → Voidf@2775removeEventTarget(h2d.Scene, h2d.Interactive, Ref) → Voidf@2776dispose(h2d.Scene) → Voidf@2777setElapsedTime(h2d.Scene, F64) → Voidf@2778drawImplTo(h2d.Scene, h2d.Object, h3d.mat.Texture) → Voidf@2779render(h2d.Scene, h3d.Engine) → Voidf@2780sync(h2d.Scene, h2d.RenderContext) → Void
Bindings
- static
f@2835__constructor__(h2d.Scene) → Void