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

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

101. laya.d3.physics.CharacterController_API3.0 [ 66%]

...rientation getPhysicsPosition getVerticalVel hasHideFlag jump move onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CharacterController(stepheight?: number, upAxis?: Vector3, collisionGroup?: number, canCollideWi...

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

102. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 65%]

...rRenderNode _setOwner _updateOneRender addList destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate reBatch setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new BatchRender(): BatchRender ...

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

103. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 65%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.radio.stateNum = 3; //皮肤状态 this.radio.label = "确定"; //文本标签 this.radio.labelFont = "宋体"; //文本标签字体 this.radio.labelSize...

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

104. laya.d3.core.trail.TrailRenderer_API3.0 [ 65%]

...eflection _cloneTo _initialize _setOwner clear destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new TrailRenderer(): TrailRenderer Over...

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

105. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 65%]

...alize _setOwner addLine addLines clear destroy getLine hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate removeLine setLine setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new PixelLineRendere...

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

106. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 64%]

...rRenderNode _setOwner _updateOneRender addList destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate reBatch setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new StatiVertexMergeBatchRender...

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

107. 垂直滑动条组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; thi...

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

108. 水平滑动条组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; th...

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

109. 弹窗视图组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...rated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用代码将Dialog与所需要用到该Dialog的场景管关联起来。回到初始...

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

110. 基础文本 · LayaAir3.0文档 · LAYABOX [ 63%]

... @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让变量page每次自增1 this...

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