大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0016 秒)
...webgl.WebGL; public class Interaction_Mouse { private var txt:Text; public function Interaction_Mouse() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage....
来源: Laya2.0_示例 发布时间: 20241118
...; public class SmartScale_Scale_NOBORDER { private var rect:Sprite; public function SmartScale_Scale_NOBORDER() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(); ...
来源: Laya2.0_示例 发布时间: 20241118
...e; public class SmartScale_Scale_NOSCALE { private var rect:Sprite; public function SmartScale_Scale_NOSCALE() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(); re...
来源: Laya2.0_示例 发布时间: 20241118
...ublic class SmartScale_Scale_EXTRACT_FIT { private var rect:Sprite; public function SmartScale_Scale_EXTRACT_FIT() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(...
来源: Laya2.0_示例 发布时间: 20241118
...; public class SmartScale_Scale_SHOW_ALL { private var rect:Sprite; public function SmartScale_Scale_SHOW_ALL() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(); r...
来源: Laya2.0_示例 发布时间: 20241118