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

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

101. laya.physics.joint.DistanceJoint_API3.0 [ 45%]

...: boolean = false Defined in laya/physics/joint/DistanceJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/DistanceJoint.ts:18 [首次设置有效]链接刚体链接点,是相对于otherBody的...

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

102. laya.physics.joint.MouseJoint_API3.0 [ 45%]

...anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠标点击点作为连接点 owner owner: Node Inherited from Component.owner Defined in laya/components/Compon...

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

103. laya.d3.component.LODGroup_API3.0 [ 45%]

...Info 数组 Returns LODInfo[] Defined in laya/d3/component/LODGroup.ts:218 设置 LODInfo 数组 Parameters data: LODInfo[] Returns void nowRate get nowRate(): number Defined in laya/d3/component/LODGroup.ts:229 Returns number Methods _initialize _initialize(): void Inherited from Component._initial...

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

104. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 45%]

...3): void Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters value: Vector3 Returns void appliedImpulse get appliedImpulse(): number Defined in laya/d3/physics/constra...

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

105. laya.physics.joint.RevoluteJoint_API3.0 [ 44%]

...r: any[] = [0, 0] Defined in laya/physics/joint/RevoluteJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/RevoluteJoint.ts:20 [首次设置有效]两个刚体是否可...

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

106. laya.physics.joint.PrismaticJoint_API3.0 [ 44%]

...: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/physics/joint/PrismaticJoint.ts:20 [首次设置有效]一个向量值,描述运动方向,比如...

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

107. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 44%]

...t.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Inherited from ConstraintComponent.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters value: Vector3 Returns void appliedImpulse get appliedImpulse():...

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

108. 为什么会出现报错 ani not found:ufo1_down [ 44%]

... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...

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

109. laya.components.AnimationClip2D_API3.0 [ 44%]

...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...

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

110. LayaFlash如何使用chrome调试问题? [ 44%]

...stener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示率 //[IF-JS]value = 100; } } }   代码中使用LayaFlash的宏编译...

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