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

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

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

...e m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = ...

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

282. laya.d3.math.Native.ConchVector3 [ 43%]

...nitZ : ConchVector3[static] Z轴单位向量,禁止修改ConchVector3  Up : ConchVector3[static] 上向量,禁止修改ConchVector3  ZERO : ConchVector3[static] 零向量,禁止修改ConchVector3Property Detailelementspropertypublic var elements:Float32Array[只读]向量元素集合。xprop...

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

283. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 42%]

...nt.MOUSE_DOWN, this, mouseDown);         Laya.stage.on(Event.MOUSE_UP, this, mouseUp);     })(); //创建地图     function createMap()     {         //创建地图对象         tiledMap = new TiledMap();         //创建Rectangle实例,视口区域 vi...

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

284. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...

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

285. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

....Sprite3D; @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每次...

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

286. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...

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

287. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 42%]

...nt.MOUSE_DOWN, this, mouseDown);         Laya.stage.on(Event.MOUSE_UP, this, mouseUp);     })(); //创建地图     function createMap()     {         //创建地图对象         tiledMap = new TiledMap();         //创建Rectangle实例,视口区域 vi...

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

288. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 41%]

...ript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起...

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

289. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...e: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRot...

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

290. laya.maths.Matrix4x4_API3.0 [ 40%]

...illboard billboard(objectPosition: Vector3, cameraPosition: Vector3, cameraUp: Vector3, cameraForward: Vector3, mat: Matrix4x4): void Defined in laya/maths/Matrix4x4.ts:724 计算BlillBoard矩阵 Parameters objectPosition: Vector3 物体位置 cameraPosition: Vector3 相机位置 cameraUp: Vector3 ...

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