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

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

121. laya.d3.physicscannon.CannonPhysicsSettings_API3.0 [ 79%]

...lobals "laya/d3/physicsCannon/CannonPhysicsSettings" CannonPhysicsSettings Class CannonPhysicsSettings PhysicsSettings 用于创建物理配置信息。 Hierarchy CannonPhysicsSettings Index Properties contactEquationRelaxation contactEquationStiffness fixedTimeStep flags maxSubSteps Properties c...

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

122. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 79%]

....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

123. 程序蓝图 · LayaAir3.0文档 · LAYABOX [ 79%]

...编辑器中。 3.1 需要在定义之前使用装饰器的标识@bpClass,示例代码如下所示: const { bpClass } = BP; @bpClass({ name:"TestBluePrint", canInherited: true, extends:"Script" }) export class TestBluePrint extends Laya.Script { } 需要注意的是,只有注册了构...

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

124. laya.d3.component.AnimatorPlayState_API3.0 [ 79%]

...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

125. laya.d3.Touch_API3.0 [ 79%]

...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

126. laya.d3.graphics.VertexElement_API3.0 [ 79%]

... 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

127. TS项目直接运行js代码 [ 79%]

...js代码 as项目可以用 __JS__ 直接执行js代码  例如:var cls:Class = __JS__("this.__proto__.__class"); 想问一下   ts项目是否有似的api可以调用 2021-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

128. laya自定义脚本如何克隆 [ 79%]

laya自定义脚本如何克隆 import 脚本之后我用  let  class_a = new Class(); 的方式不可行 ,N个物体直接挂载Class,,他只有一个被执行了,我只能挂载到父物体上,然后克隆父物体 ,这个脚本就被“专属”了 , 这就出现问题 ,laya里...

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

129. Laya3D_API3.0 [ 79%]

...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

130. laya2.0 编辑器不显示父变量 [ 79%]

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