大约有 311 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0089 秒)
Laya_社区(124) Laya3.0_api(85) Laya2.0_api(49) laya_api(19) Laya2.0_文档(15) Laya3.0_文档(11) Laya2.0_示例(4) Laya_示例(4)
...a.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, 255); // Laya.stage.alignV = Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; // 本地运行,需要在index.html中引用百...
来源: Laya2.0_示例 发布时间: 20241117
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globa...
来源: Laya3.0_api 发布时间: 20231115
...18 Returns void Static createBox createBox(long?: number, height?: number, width?: number): Mesh Defined in laya/d3/resource/models/PrimitiveMesh.ts:69 创建Box网格。 Parameters Default value long: number = 1 半径 Default value height: number = 1 垂直层数 Default value width: number = 1 ...
来源: Laya3.0_api 发布时间: 20231115
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX global...
来源: Laya3.0_api 发布时间: 20231115
...rough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...
来源: Laya3.0_api 发布时间: 20231115
... background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors construc...
来源: Laya3.0_api 发布时间: 20231102
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 I...
来源: Laya3.0_api 发布时间: 20231115
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters...
来源: Laya3.0_api 发布时间: 20231115