大约有 369 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 getScript getScript(type: typeof AnimatorStateScript): AnimatorStateScript | null Defined in laya/d3/component/Animator/AnimatorState.ts:303 获取脚本。 Parameters type: typeof AnimatorStateScript 组件类型。...
来源: Laya3.0_api 发布时间: 20231115
...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...ormat = function(url:String):String{} URL exportSceneToJson : Boolean = false[static] 兼容微信不支持加载scene后缀场景,设置为true,则会把scene加载替换为jsonURL path : String[read-only] 地址的文件夹路径(不包括文件名)。URL rootPath : String[static]...
来源: Laya2.0_api 发布时间: 20190513
...rties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.S...
来源: Laya3.0_api 发布时间: 20231115
...spatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher of...
来源: Laya2.0_api 发布时间: 20190513
...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...Shader3D。 Public Properties PropertyDefined By debugMode : Boolean = false[static] 是否开启调试模式。 Shader3DPublic Methods MethodDefined By Shader3D(name:String, attributeMap:Object, uniformMap:Object, enableInstancing:Boolean) 创建一个 Shader3D 实例。 Shader3D addSub...
来源: Laya2.0_api 发布时间: 20190513
...spatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...ertyDefined By _conchShader : *ShaderCompile3D debugMode : Boolean = false[static] 是否开启调试模式。 ShaderCompile3D _materialInt2name : ArrayShaderCompile3D _materialName2Int : ObjectShaderCompile3D _preCompileShader : Object[static] ShaderCompile3D SAHDERDEFINE_DEPTHFOG...
来源: laya_api 发布时间: 20170929
...st: any = pool.length ? pool.pop() : null; if (rst) { rst[Pool.POOLSIGN] = false; } return rst; } 这是最基本的操作,从对象池中拿到一个对象的示例,如果对象池里已经没有可以拿的对象时,返回 null,使用代码如下: let bullet = Pool.getItem("Bullet"); 此...
来源: Laya3.0_文档 发布时间: 20251010