大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
...); } } /**播放动画 */ public playAni(aniName: PERSON_ANI, islooping: boolean = true): void { console.log("播放:" + aniName); this.ani.getControllerLayer().getAnimatorState(aniName).clip.islooping = islooping; this.ani.play(aniName); } ////迷茫,这这样写,就是有一个 不循环,...
来源: Laya_社区 发布时间: 20190802
....WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new Rectangle(0,0,bian,bian); this.scrollRect = rect; p...
来源: Laya_社区 发布时间: 20171124
...hape Properties 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 CompoundColli...
来源: Laya3.0_api 发布时间: 20231115
...erState depthTest : int深度测试函数。RenderState depthWrite : Boolean是否深度写入。RenderState dstBlend : int目标混合参数,在blend为BLEND_ENABLE_ALL时生效。RenderState dstBlendAlpha : intAlpha目标混合参数,在blend为BLEND_ENABLE_SEPERATE时生效。RenderSt...
来源: Laya2.0_api 发布时间: 20190513
...pe, tips:"布尔类型示例", type:Bool, default:true}*/ public boolType: boolean = true; /** @prop {name:optionType, tips:"", type:Option, option:"aaa,bbb,true", default:"bbb"}*/ public optionType:string = "bbb"; //EditOption 貌似不能设置默认值 /** @prop {name:editOptionType, tips:"", typ...
来源: Laya_社区 发布时间: 20181215
...stObject: any 克隆源。 Returns void equals equals(b: ConchQuaternion): boolean Defined in laya/d3/math/Native/ConchQuaternion.ts:655 Parameters b: ConchQuaternion Returns boolean fromArray fromArray(array: any[], offset?: number): void Defined in laya/d3/math/Native/ConchQuaternion.ts:621 从Arr...
来源: Laya3.0_api 发布时间: 20231102
...地图变化时自动销毁 * **/ public function Load(url:String,isGroup:Boolean):void { _path = UrlConfig.EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:String = null; if(isGroup == true){ groupName...
来源: Laya_社区 发布时间: 20180425
...,则销毁子节点,否则不销毁子节点。 */ destroy(destroyChild: boolean = true): void { this.destroyed = true; this._destroyAllComponent(); this._parent && this._parent.removeChild(this); //销毁子节点 if (this._children) { if (destroyChild) this.destroyChildren(); else this...
来源: Laya_社区 发布时间: 20220224
...这里需要先import bitmapimg from "./script/bitmapimg "; private flag:boolean = false; private bt:bitmapimg; private oldurl:string="" /**此处省略btn创建*/ private onClick():void { if(this.flag==false){ let url:string="test2/1.png" ...
来源: Laya_社区 发布时间: 20181201
... in laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ.ts:33 invertY invertY: boolean = false Implementation of IRenderContext3D.invertY Defined in laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ.ts:19 pipelineMode pipelineMode: PipelineMode Implementation of IRenderContext3D.pipelineMode Defined in la...
来源: Laya3.0_api 发布时间: 20231115