• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)

451. laya.d3.core.FloatKeyframe_API3.0 [ 72%]

...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

452. 绘制图形的BUG [ 72%]

...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

453. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...,用于常规的资源 */}); 完整的脚本示例如下: 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

454. 计时器-间隔循环 [ 72%]

...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

455. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 72%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 ​ **Image 组件的资源示例:** ​ ![图片0.png](img/1.png) ​ (图1) ​ **Image 组件拖放到编辑区后显示效果:** ​ ![图片0.png](img/2.png) ​ (图2) ### 1.2 Image ...

来源: Laya2.0_文档 发布时间: 20210714

456. 关于分包的问题,是否是编译器bug? [ 72%]

...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

457. laya.d3.component.PostProcess_API3.0 [ 72%]

...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

458. graphics绘制报错 [ 72%]

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

459. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 72%]

... 动画播放基类: [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

460. laya.d3.core.reflectionprobe.ReflectionProbeManager_API3.0 [ 72%]

...aya/d3/core/reflectionProbe/ReflectionProbeManager" ReflectionProbeManager Class ReflectionProbeManager ReflectionProbeManager 类用于反射探针管理 miner Hierarchy ReflectionProbeManager Index Constructors constructor Accessors sceneReflectionCubeHDRParam sceneReflectionProbe Methods _updateM...

来源: Laya3.0_api 发布时间: 20231102