大约有 23 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0017 秒)
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void...
来源: Laya2.0_api 发布时间: 20190513
...re():RestoreCmd 返回之前保存过的路径状态和属性。 Graphics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):RotateCmd 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():SaveCmd 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Nu...
来源: Laya2.0_api 发布时间: 20190513
...灯 createSpotLight(): void { this.spotLight.pos(50, 350); this.spotLight.rotation = 70; this.owner.addChild(this.spotLight); let spotLightComponent = this.spotLight.addComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(0.937, 1, 0); spotLightComponent.intensity = 1.25; spotLight...
来源: Laya3.0_文档 发布时间: 20251010