大约有 163 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)
...trix4x4>):void private Animator addClip(clip:AnimationClip, playName:String = null, startFrame:int = 0, endFrame:int = 4294967295):void 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通过播...
来源: laya_api 发布时间: 20170929
...ors attributes Methods elements getAttrBool getAttrFloat getAttrInt getAttrString getNode parse reset setAttribute Constructors constructor new XML(XmlString?: string): XML Defined in laya/html/XML.ts:9 Parameters Optional XmlString: string Returns XML Properties name name: string Defined in laya/ht...
来源: Laya3.0_api 发布时间: 20231115
...显示Tips或属性的中文别名等完整功能需求 @property({ type: String, caption: "IDE显示用的别名", tips: "这是一个文本对象,只能输入文本哦" }) public text1: string = ""; //装饰器属性类型的简写方式,适用于只定义类型的需求 @property(String) publ...
来源: Laya3.0_文档 发布时间: 20251010
...dex was outside the bounds of the array. p.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean A_2) (at <fb4f7e057e8e4883a548262c8679c156>:0) p.c () (at <fb4f7e057e8e4883a548262c8679c156>:0) p.b (System.String A_0) (at <fb4f7e057e8e4883a548262c8679c156>:0) LayaAir3D.exportRe...
来源: Laya_社区 发布时间: 20191113
...nce destroyUnusedResources Constructors constructor new AtlasResource(dir: string, textures: Array<Texture>, frames: Array<Texture>): AtlasResource Overrides Resource.__constructor Defined in laya/resource/AtlasResource.ts:9 实例化体格大图合集资源 Parameters dir: string textur...
来源: Laya3.0_api 发布时间: 20231115
... mode: "average" = "average" Defined in laya/utils/Stat.ts:50 title title: string = "BlitDrawCall" Defined in laya/utils/Stat.ts:50 units units: "int" = "int" Defined in laya/utils/Stat.ts:50 value value: string = "blitDrawCall" Defined in laya/utils/Stat.ts:50 Static BufferMemory BufferMemory: obje...
来源: Laya3.0_api 发布时间: 20231115
为什么字符串不能连接? private getRandomColor():String { let arr:Array<String>=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"]; let str:String="#"; for(let i:number=0;i<6;i++){ let index:number=arr.length*Math.random(); str+=arr[index];//在IDE里面这句报...
来源: Laya_社区 发布时间: 20171118
...ex:int, vector2:Vector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):B...
来源: laya_api 发布时间: 20170929
...nherited Public Properties PropertyDefined By attachBones : Vector.<String>挂点骨骼的名称。AttachPoint destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D ...
来源: laya_api 发布时间: 20170929
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...
来源: Laya3.0_api 发布时间: 20231115