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

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

31. List翻页效果 [ 72%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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

32. List翻页效果怎么实现 [ 72%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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

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

...写,就写这个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 readonly Y_OFFSET: numbe...

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

34. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 71%]

...: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resources/Title.lh").then( (r...

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

35. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 71%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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

36. LAYA的AS3项目碰见个问题,求解 [ 71%]

...itorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public function myTexts()         {             super();         }         override protected function initialize():void         {             super.initi...

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

37. shader 问题[关闭] [ 70%]

..., 1.0);       v_color = color;v_texcoord = texcoord;}`class ShaderValue extends Laya.Value2D { constructor () { super(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CON...

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

38. 动画状态脚本(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 70%]

...自AnimatorStateScript(动画状态脚本) class AnimatorStateScriptTest extends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text):int { _text = value; } public function AnimatorStateScriptTest() { } /** * 动...

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

39. 学会编写d.ts声明文件(TypeScript-IDE篇(TS)-代码模式基础) [ 70%]

...interface IOctreeOptions { root: Octree; aabb: AABB; } export class Octree extends OctreeNode { maxDepth: number; constructor(aabb: AABB, options: IOctreeOptions); aabbQuery(aabb: AABB, result: Object[]): Object[]; insert(aabb: AABB, elementData: Object): boolean; rayQuery(ray: Ray, treeTransform: T...

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

40. 请问laya有没有类似翻页容器(pageView)的组件? [ 70%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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