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

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

201. Laya2.7.1 射线提示rayCast未定义 [ 64%]

Laya2.7.1 射线提示rayCast未定义 export default class click3d extends Laya.Script3D{ constructor() { super(); //创建场景 this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(...

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

202. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 64%]

.../ import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:num...

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

203. laya.d3.resource.RenderTextureCube_API3.0 [ 64%]

...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...

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

204. 性能测试-卡通人物2 [ 64%]

...) { nameLabel = new Text(); nameLabel.color = "#FFFFFF"; nameLabel.text = "Default"; nameLabel.fontSize = 13; nameLabel.width = Character.WIDTH; nameLabel.align = "center"; this.addChild(nameLabel); } Character.prototype.setSpeed = function(value) { this.speed = value; } Character.prototype.setName ...

来源: Laya_示例 发布时间: 20251209

205. laya.d3.core.light.LightSprite_API3.0 [ 64%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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

206. ios苹果手机,同时播放声音出现巨大杂音 [ 64%]

...就是ios有问题。代码如下:附件是两个音频文件   export default class GameMain extends Laya.Scene {     constructor() {          super();          //设置单例的引用方式,方便其他类引用         GameMain.instance = this;     ...

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

207. laya.resource.HTMLCanvas_API3.0 [ 64%]

...ts:59 根据指定的类型,创建一个 HTMLCanvas 实例。 Parameters Default value createCanvas: boolean = false Returns HTMLCanvas Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited fr...

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

208. laya.resource.RenderTextureCube_API3.0 [ 63%]

...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...

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

209. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 63%]

...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format frameBuffer gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCou...

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

210. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 63%]

...例。 Parameters mesh: Mesh 网格。 heightMap: HeightMap 高度图。 Default value name: string = null 名字。 Returns MeshTerrainSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _scene _scene: Node Inherited from Node._scene ...

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