大约有 447 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
...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
...是对摄相机进行。因此务必保持与摄相机相同。 **/ 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
...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
...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
...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
...mal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal { @property({ type : Number }) weight : number; } 上面的示例中,组件脚本MyScript中引用了自定义的Animal对象 ,并将装饰器属性标识的类型设置为Animal, 尽管Animal不是...
来源: Laya3.0_文档 发布时间: 20251010
... 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
.../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
...,代码如下: 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
...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