大约有 643 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0065 秒)
...rt Browser = Laya.Browser; export default class GameRecorderMgr { /**录屏实例**/ private _recorder: any; static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recor...
来源: Laya2.0_文档 发布时间: 20210715
...g) (图9-1) 项目代码里,通过创建一个`CylinderColliderShape`实例的方式,传入半径和高,即可返回一个圆柱形碰撞形状对象,将这个对象添加给碰撞器的colliderShape属性即可。API说明如图9-2所示。 ![img](img/9-2.png) (图9-2) ###### 圆锥...
来源: Laya2.0_文档 发布时间: 20210715
.../d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:376 创建一个 Transform3D 实例。 Parameters owner: Sprite3D 所属精灵。 Returns NativeTransform3D Properties _nativeObj _nativeObj: any Defined in laya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:22 Static MemoryBlock_size MemoryBlock_size: nu...
来源: Laya3.0_api 发布时间: 20231115
...类型! 类型也不必关心,只需要知道它有一个create方法实例化节点树。*/ let node = res.create(); }); 1.8 旧版本引擎load和create的兼容性问题 3.0以前的引擎,有Laya.loader.load()和Laya.loader.create()方法两个方法,分别用于加载2D和3D资源。 3....
来源: Laya3.0_文档 发布时间: 20230406
...tor Defined in laya/d3/core/material/Material.ts:448 创建一个 Material 实例。 Returns Material Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediately Def...
来源: Laya3.0_api 发布时间: 20231115
...r extends Shader { /** * 当前着色器的一个实例对象。 */ public static shader: coolDownShader = new coolDownShader(); constructor() { var vs: string = " \ attribute vec2 position; \ ...
来源: Laya_社区 发布时间: 20170606
...a/d3/core/pixelLine/PixelLineMaterial.ts:36 创建一个 PixelLineMaterial 实例。 Returns PixelLineMaterial Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmedi...
来源: Laya3.0_api 发布时间: 20231115
... in laya/d3/core/material/SkyBoxMaterial.ts:81 创建一个 SkyBoxMaterial 实例。 Returns SkyBoxMaterial Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediate...
来源: Laya3.0_api 发布时间: 20231115
... in laya/d3/core/material/EffectMaterial.ts:57 创建一个 EffectMaterial 实例。 Returns EffectMaterial Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediate...
来源: Laya3.0_api 发布时间: 20231115
...core/material/SkyPanoramicMaterial.ts:73 创建一个 SkyPanoramicMaterial 实例。 Returns SkyPanoramicMaterial Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImm...
来源: Laya3.0_api 发布时间: 20231115