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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0078 秒)

2661. 动效模板(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

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

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

2664. 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_示例 发布时间: 20250227

2665. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurik...

来源: Laya3.0_文档 发布时间: 20250214

2666. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 42%]

...基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurik...

来源: Laya3.0_文档 发布时间: 20250104

2667. laya.ui.RadioGroup [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RadioGroupProperties | Methods | Events Packagelaya.uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box UIComponent Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控...

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

2668. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleSystemProperties | Methods Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleSystemInheritanceShurikenParticleSystem laya.d3.core.GeometryElementImplements laya.d3.core.IClone Shuriken...

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

2669. 一个简单的跑酷曲面shader分享 [ 41%]

...奈何不知道怎么写,就写这个shader练练手~   export default class CurveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); public rea...

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

2670. laya.ui.VScrollBar [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以...

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