faint-toothbrush-51643
05/08/2023, 8:37 PMfaint-toothbrush-51643
05/08/2023, 8:37 PMbillowy-waiter-28954
05/08/2023, 8:53 PMgifted-whale-78169
05/09/2023, 10:07 PMgifted-whale-78169
05/09/2023, 10:08 PMgifted-whale-78169
05/10/2023, 1:20 AMgifted-whale-78169
05/10/2023, 1:36 AMgifted-whale-78169
05/10/2023, 1:36 AMbillowy-waiter-28954
05/10/2023, 6:46 AMpointerUp
event on a visual will only be triggered if you are listening to pointerDown
as well, and that pointerDown
has triggered on this visualbillowy-waiter-28954
05/10/2023, 6:47 AMresize()
method of your Scene
and do whatever you wish with your width
and height
propertiesgifted-whale-78169
05/10/2023, 10:50 AMgifted-whale-78169
05/10/2023, 10:50 AMbillowy-waiter-28954
05/10/2023, 11:35 AMapp.scenes.main
or app.scenes.set(...)
, but of course you need to take care of what's inside, using the new scene's width and heightgifted-whale-78169
05/10/2023, 11:36 AMambitious-knife-25690
05/10/2023, 11:36 AMambitious-knife-25690
05/10/2023, 11:36 AMgifted-whale-78169
05/10/2023, 11:56 AMgifted-whale-78169
05/10/2023, 11:57 AMfaint-toothbrush-51643
05/10/2023, 8:08 PMVisual.hx
hx
#if ceramic_no_depth_range
public var depthRange(default,set):Float = -1;
#else
public var depthRange(default,set):Float = 1;
#end
function set_depthRange(depthRange:Float):Float {
if (this.depthRange == depthRange) return depthRange;
this.depthRange = depthRange;
ceramic.App.app.hierarchyDirty = true;
return depthRange;
}
faint-toothbrush-51643
05/10/2023, 8:08 PMceramic_no_depth_range
?billowy-waiter-28954
05/10/2023, 8:57 PMbillowy-waiter-28954
05/10/2023, 8:58 PMfaint-toothbrush-51643
05/10/2023, 9:01 PMfaint-toothbrush-51643
05/10/2023, 9:01 PMfaint-toothbrush-51643
05/10/2023, 9:03 PMfaint-toothbrush-51643
05/10/2023, 9:09 PMhttps://cdn.discordapp.com/attachments/853414608747364352/1105964831728742440/image.pngโพ
billowy-waiter-28954
05/10/2023, 9:15 PMfaint-toothbrush-51643
05/10/2023, 10:33 PMambitious-knife-25690
05/10/2023, 10:35 PM