大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...nals Only exported Menu Globals "laya/d3/core/FloatKeyframe" FloatKeyframe Class FloatKeyframe FloatKeyFrame 类用于创建浮点关键帧实例。 Hierarchy Keyframe FloatKeyframe Implements IClone Index Constructors constructor Properties inTangent inWeight outTangent outWeight time value weighte...
来源: Laya3.0_api 发布时间: 20231115
...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...
来源: Laya_社区 发布时间: 20170124
...,用于常规的资源 */}); 完整的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https:...
来源: Laya3.0_文档 发布时间: 20251010
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_Interval { private rotateTimeBasedText: Text; private rotateFrameRateBasedText: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...
来源: Laya_示例 发布时间: 20251209
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 **Image 组件的资源示例:**  (图1) **Image 组件拖放到编辑区后显示效果:**  (图2) ### 1.2 Image ...
来源: Laya2.0_文档 发布时间: 20210714
...dow,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new modules.LoginModule(); module.run(); 编译后login.js是正常的,里面各个类...
来源: Laya_社区 发布时间: 20170209
...als Only exported Menu Globals "laya/d3/component/PostProcess" PostProcess Class PostProcess PostProcess 类用于创建后期处理组件。 Hierarchy PostProcess Index Constructors constructor Accessors cameraDepthTextureMode effects enable Methods addEffect clearEffect getEffect removeEffect Cons...
来源: Laya3.0_api 发布时间: 20231115
graphics绘制报错 class Sprite_DisplayImage { constructor() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Spr...
来源: Laya_社区 发布时间: 20190829
... 动画播放基类: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.AnimationPlayerBase](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.AnimationBase) 动画类: [https://layaair.ldc.layabox.com/ap...
来源: Laya2.0_文档 发布时间: 20210715
...aya/d3/core/reflectionProbe/ReflectionProbeManager" ReflectionProbeManager Class ReflectionProbeManager ReflectionProbeManager 类用于反射探针管理 miner Hierarchy ReflectionProbeManager Index Constructors constructor Accessors sceneReflectionCubeHDRParam sceneReflectionProbe Methods _updateM...
来源: Laya3.0_api 发布时间: 20231102