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

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

401. laya.ani.AnimationTemplet_API3.0 [ 39%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...

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

402. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 39%]

...是对摄相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟...

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

403. 预制体模块 · LayaAir3文档 · LAYABOX [ 39%]

...dingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let ...

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

404. laya.particle.ParticleTemplate2D_API3.0 [ 39%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...

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

405. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...dingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let ...

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

406. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...mal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal { @property({ type : Number }) weight : number; } 上面的示例中,组件脚本MyScript中引用了自定义的Animal对象 ,并将装饰器属性标识的类型设置为Animal, 尽管Animal不是...

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

407. laya.resource.BaseTexture_API3.0 [ 38%]

... url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _ad...

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

408. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 37%]

.../ShurikenParticleSystem.ts:891 Parameters render: ShurikenParticleRenderer Default value meshTopology: MeshTopology = MeshTopology.Triangles Default value drawType: DrawType = DrawType.DrawElement Returns ShurikenParticleSystem Properties _geometryElementOBj _geometryElementOBj: IRenderGeometryEleme...

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

409. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...,代码如下: const { regClass, property } = Laya; @regClass() export default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public ...

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

410. laya.resource.VideoTexture_API3.0 [ 36%]

...ideoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount video width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Metho...

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