大约有 208 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
...ordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce ...
来源: Laya3.0_api 发布时间: 20231115
...sible _needRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChildren addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOn...
来源: Laya3.0_api 发布时间: 20231115
... sp = new Sprite(); Laya.stage.addChild(sp); //画矩形 sp.graphics.drawRect(20, 20, 100, 50, "#ffff00"); } } } ``` 代码运行效果: ![图片...
来源: Laya2.0_文档 发布时间: 20210715
... Sprite3D _parse(data:Object, spriteMap:Object):void[override] Terrain addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
... this.sp = new Sprite(); Laya.stage.addChild(this.sp); //画矩形 this.sp.graphics.drawRect(20, 20, 100, 50, "#ffff00"); } } } new laya.Sprite_DrawShapes(); ``` 代码运行效果: ...
来源: Laya2.0_文档 发布时间: 20210715
...sible _needRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChildren addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOn...
来源: Laya3.0_api 发布时间: 20231115
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event exitFullscreen frameLoop frameO...
来源: Laya3.0_api 发布时间: 20231115
...h x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...
来源: Laya3.0_api 发布时间: 20231115
...Sprite { var ape:Sprite = new Sprite(); ape.loadImage(ApePath); Laya.stage.addChild(ape); return ape; } } } ``` 在上面的代码中,我们创建了一个原始位图、一个红色滤镜效果位图、一个灰色滤镜效果位图。运行效果如图1所示:  (图1) ## 2、...
来源: Laya2.0_文档 发布时间: 20210715
... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...
来源: Laya3.0_api 发布时间: 20231102