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

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

61. laya.maths.Rectangle_API3.0 [ 74%]

... in laya/maths/Rectangle.ts:27 创建一个 Rectangle 对象。 Parameters Default value x: number = 0 矩形左上角的 X 轴坐标。 Default value y: number = 0 矩形左上角的 Y 轴坐标。 Default value width: number = 0 矩形的宽度。 Default value height: number = 0 矩形的高度...

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

62. 使用 addChild 加载界面后,绑定事件报错 [ 73%]

...rt); 加载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI {     constructor() {         super();          this.btnStart.on(Laya.Event.CLICK, this, this.startGame);     }      startGame(): void {      ...

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

63. laya加载unity插件导出的场景 physics3D is not a function [ 73%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();       //添加3D场景 Laya.Scene3D.load("res/Conventional/SimpleTown_DemoScene.ls",Laya.Handler.create(this,function(s:Laya.Scene3D):void{ var sce...

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

64. laya.ani.AnimationPlayer_API3.0 [ 73%]

...void Defined in laya/ani/AnimationPlayer.ts:463 播放动画。 Parameters Default value index: number = 0 动画索引。 Default value playbackRate: number = 1 播放速率。 Default value overallDuration: number = 2147483647 Default value playStart: number = 0 播放的起始时间位置。 Defa...

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

65. laya.d3.math.Plane_API3.0 [ 73%]

...efined in laya/d3/math/Plane.ts:16 创建一个 Plane 实例。 Parameters Default value normal: Vector3 = new Vector3 平面的向量 Default value d: number = 0 平面到原点的距离 Returns Plane Properties Static PlaneIntersectionType_Back PlaneIntersectionType_Back: number = 0 Defined in lay...

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

66. Laya2.0 OC调用js [ 73%]

Laya2.0 OC调用js export default class Test  {       public static onClick():void{           alert("456")       }         }​   [[conchRuntime GetIOSConchRuntime] runJS:@"Test.onClick()"];  error: ReferenceError: Can't find variable: Test   p.p1 {margin: 0.0px 0.0px 0.0px 0.0px...

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

67. laya.d3.graphics.StaticBatchManager_API3.0 [ 73%]

...节点。 Parameters staticBatchRoot: Sprite3D 静态批处理根节点。 Default value renderableSprite3Ds: RenderableSprite3D[] = null 静态批处理子节点队列。 Returns void Globals "laya/d3/graphics/StaticBatchManager" StaticBatchManager constructor combine Legend Object literal Variable...

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

68. laya.ani.bone.BoneSlot_API3.0 [ 72%]

...画到Graphics上 Parameters graphics: GraphicsAni boneMatrixArray: any[] Default value noUseSave: boolean = false 不使用共享的矩阵对象 _tempResultMatrix,只有实时计算的时候才设置为true Default value alpha: number = 1 Returns void drawBonePoint drawBonePoint(graphics: Graphic...

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

69. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 72%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape constructor arc emitFromEdge enable radius randomDirectio...

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

70. laya.display.Graphics_API3.0 [ 72%]

...id Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回...

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