大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0057 秒)
Laya_社区(545) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(64) Laya2.0_示例(2)
...lobals "laya/d3/physicsCannon/CannonPhysicsSettings" CannonPhysicsSettings Class CannonPhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy CannonPhysicsSettings Index Properties contactEquationRelaxation contactEquationStiffness fixedTimeStep flags maxSubSteps Properties c...
来源: Laya3.0_api 发布时间: 20231102
....utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class HelloLayabox { private const AniConfPath:String = "../../../../res/role.atlas"; private var roleAni:Animation; public function HelloLayabox() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Br...
来源: Laya2.0_文档 发布时间: 20210715
...orted Menu Globals "laya/d3/component/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState duration normalizedTime Constructors constructor new Anim...
来源: Laya3.0_api 发布时间: 20231102
...d All Inherited Externals Only exported Menu Globals "laya/d3/Touch" Touch Class Touch Touch 类用于实现触摸描述。 Hierarchy Touch Implements ISingletonElement Index Accessors identifier position Methods _getIndexInList _setIndexInList Accessors identifier get identifier(): number Defined i...
来源: Laya3.0_api 发布时间: 20231102
...编辑器中。 3.1 类 需要在类定义之前使用装饰器的标识@bpClass,示例代码如下所示: const { bpClass } = BP; @bpClass({ name:"TestBluePrint", canInherited: true, extends:"Script" }) export class TestBluePrint extends Laya.Script { } 需要注意的是,只有注册了构...
来源: Laya3.0_文档 发布时间: 20250103
... Only exported Menu Globals "laya/d3/graphics/VertexElement" VertexElement Class VertexElement VertexElement 类用于创建顶点结构分配。 Hierarchy VertexElement Index Constructors constructor Accessors elementFormat elementUsage offset Constructors constructor new VertexElement(offset: numb...
来源: Laya3.0_api 发布时间: 20231102
...js代码 as项目可以用 __JS__ 直接执行js代码 例如:var cls:Class = __JS__("this.__proto__.__class"); 想问一下 ts项目是否有类似的api可以调用 2021-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20210106
laya自定义脚本如何克隆 import 脚本之后我用 let class_a = new Class(); 的方式不可行 ,N个物体直接挂载Class,,他只有一个被执行了,我只能挂载到父物体上,然后克隆父物体 ,这个脚本就被“专属”了 , 这就出现问题 ,laya里...
来源: Laya_社区 发布时间: 20190907
...otected All Inherited Externals Only exported Menu Globals "Laya3D" Laya3D Class Laya3D Laya3D 类用于初始化3D设置。 Hierarchy Laya3D Index Accessors enablePhysics Methods createRenderObjInit init Accessors Static enablePhysics get enablePhysics(): any Defined in Laya3D.ts:82 获取是否可...
来源: Laya3.0_api 发布时间: 20231115
laya2.0 编辑器不显示父类变量 举个粒子 class Parent extends Laya.Script{ /** @prop {name:name, type:string}*/ public name; } class Child extends Parent{} 在编辑器中给对象挂child脚本,并没有显示父类的name对象。 2018-12-13 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20181213