大约有 642 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0088 秒)
Laya_社区(394) Laya3.0_api(93) Laya2.0_api(62) laya_api(55) Laya2.0_文档(24) Laya3.0_文档(13) Laya2.0_示例(1)
...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherit...
来源: Laya3.0_api 发布时间: 20231115
...生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = ...
来源: laya_api 发布时间: 20170929
... class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } priv...
来源: Laya3.0_api 发布时间: 20231115
...ic class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function on...
来源: Laya3.0_api 发布时间: 20231115
...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _sceneUniformData _sceneUniformData: UnifromBufferData Defined in laya/d3/core/scene/Scene3D.ts:399 interanl _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果...
来源: Laya3.0_api 发布时间: 20231115
...生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = ...
来源: laya_api 发布时间: 20170929
...er; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui...
来源: Laya3.0_api 发布时间: 20231115
... from Material.blendDstAlpha Defined in laya/d3/core/material/Material.ts:264 混合目标 alpha Returns number Inherited from Material.blendDstAlpha Defined in laya/d3/core/material/Material.ts:267 混合目标 alpha Parameters value: number Returns void blendDstRGB get blendDstRGB(): number set bl...
来源: Laya3.0_api 发布时间: 20231115
...别是COLLISIONFILTERGROUP_CUSTOMFILTER1......10。全都是2的幂,从64到32768。 为了方便记忆,我们可以不记实际值,记住CUSTOMFILTER后1到10的ID号区别即可。 使用示例为: //指定xxx碰撞器所属哪个碰撞组(COLLISIONFILTERGROUP_CUSTOMFILTER2对应的值...
来源: Laya3.0_文档 发布时间: 20240624
...别是`COLLISIONFILTERGROUP_CUSTOMFILTER1......10`。全都是2的幂,从64到32768。 为了方便记忆,我们可以不记实际值,记住CUSTOMFILTER后1到10的ID号区别即可。 使用示例为: ```typescript //指定xxx碰撞器所属哪个碰撞组(COLLISIONFILTERGROUP_CUSTOMFILTE...
来源: Laya2.0_文档 发布时间: 20210715