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

大约有 1,830 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)

1621. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 42%]

...e: number): void Defined in laya/d3/physics/shape/CylinderColliderShape.ts:50 方向。 Returns number Defined in laya/d3/physics/shape/CylinderColliderShape.ts:54 方向。 Parameters value: number Returns void radius get radius(): number set radius(value: number): void Defined in laya/d3/physics/s...

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

1622. laya.d3.shader.SubShader_API3.0 [ 42%]

...NDINDICES0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:50 a_BoneWeights a_BoneWeights: [number, Vector4] = [VertexMesh.MESH_BLENDWEIGHT0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:49 a_Color a_Color: [number, Vector4] = [VertexMesh.MESH_COLOR0, ShaderDataType...

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

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

...置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞...

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

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

...置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞...

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

1625. sprite点击事件 位置便宜 [ 42%]

...应事件\n"; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 50); txt.fontSize = 20; txt.wordWrap = true; txt.color = "#FFFFFF"; Laya.stage.addChild(txt); } laya-stage为页面一个div,设置样式为 border: 2px solid #999; display: block; width: 480px; height: 360px; position: relat...

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

1626. laya.components.AnimatorControllerLayer2D_API3.0 [ 41%]

... name name: string Defined in laya/components/AnimatorControllerLayer2D.ts:50 层的名字 playOnWake playOnWake: boolean = true Defined in laya/components/AnimatorControllerLayer2D.ts:55 是否开始时播放 Static BLENDINGMODE_ADDTIVE BLENDINGMODE_ADDTIVE: number = 1 Defined in laya/components/An...

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

1627. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 41%]

...不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found.     请问要怎么设置,怎么放各种文件,才能把这个node_modules下的第三方库protobufjs在Laya项目里正常使用? 附件是...

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

1628. 微信小游戏报错 the .lh file root type must be Scene [ 41%]

...他的方法用什么,api文档也没有说 joshua0526 • 2018-03-26 17:50 只是告诉我用别的方法,然而并没有例子或者api告诉我用什么方法 joshua0526 • 2018-03-26 17:51 微信小游戏官方案例里面是自己创建的场景,不是加载的unity导出的场景 qian ...

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

1629. 3D网格添加刚体后设置欧拉角出现位置错误 [ 41%]

...标是什么东东 怎么去掉 问题状态 最新活动: 2021-03-04 10:50 浏览: 6432 关注: 3 人

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

1630. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 41%]

...//初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private function onLoaded():void { //创建...

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