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

大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)

2681. laya.display.EffectAnimation [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EffectAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用...

来源: Laya2.0_api 发布时间: 20190513

2682. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 42%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.render.BaseRender))。 ​ 获取的材质分为两种类型: ​ 自身材质 **Material**,如果自身材质被修改了,只有自身模型显示进行变化; ​ 共享材质 **SharedMaterial** ...

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

2683. UI-Button [ 42%]

...laya.ui.Button; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Button { private const COLUMNS:int = 2; private const BUTTON_WIDTH:int = 147; private const BUTTON_HEIGHT:int = 165 / 3; private const HORIZONTAL_SPACING:int = 200; private const VERTICAL_SPACING:int = 100; private v...

来源: Laya_示例 发布时间: 20260303

2684. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 42%]

...度地图的div容器 ``` ### 二、接着是构造函数: ```typescript class WatchPosition { constructor() { Laya.init(1, 1); this.init(); // 使用高精度位置 Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Han...

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

2685. laya.ani.swf.MovieClip [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties...

来源: Laya2.0_api 发布时间: 20190513

2686. laya.ui.Tab [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TabProperties | Methods | Events Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box UIComponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited ...

来源: Laya2.0_api 发布时间: 20190513

2687. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 42%]

...Loader; import laya.utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资源,加载成功后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas"...

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

2688. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 42%]

...曲线,然后通过drawLines来画。给你 一个参考代码   export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number ...

来源: Laya_社区 发布时间: 20241008

2689. laya.d3.core.Sprite3D_API3.0 [ 42%]

...ited Externals Only exported Menu Globals "laya/d3/core/Sprite3D" Sprite3D Class Sprite3D Sprite3D 类用于实现3D精灵。 Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active acti...

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

2690. UI-CheckBox [ 42%]

...ya.ui.CheckBox; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_CheckBox { private const COL_AMOUNT:int = 2; private const ROW_AMOUNT:int = 3; private const HORIZONTAL_SPACING:int = 200; private const VERTICAL_SPACING:int = 100; private const X_OFFSET:int = 100; private const Y_O...

来源: Laya_示例 发布时间: 20260303