大约有 431 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0053 秒)
...是对摄相机进行。因此务必保持与摄相机相同。 **/ 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
... 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_文档 发布时间: 20241014
...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
...interfaces/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, th...
来源: Laya_社区 发布时间: 20200410
...ce 的方式去移动,但是角色在地上一动也不动的 export default class GameUI { //宣告場景 private scene: Laya.Scene3D; private camera: Laya.Camera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private ...
来源: Laya_社区 发布时间: 20200917
...的示例代码如下: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3...
来源: Laya3.0_文档 发布时间: 20241014