大约有 77 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0046 秒)
...g 获取标记值。 SubShader getMaterialDefineByName(name:String):int 通过名称获取宏定义值。 SubShader setFlag(key:String, value:String):void 加标记。 SubShaderMethod DetailgetFlag()method public function getFlag(key:String):String 获取标记值。 Parameters key:StringRetur...
来源: Laya2.0_api 发布时间: 20190513
...取子着色器。 Shader3D propertyNameToID(name:String):int[static] 通过Shader属性名称获得唯一ID。 Shader3DPublic Constants ConstantDefined By PERIOD_CAMERA : int = 3[static] shader变量提交周期,逐相机。Shader3D PERIOD_CUSTOM : int = 0[static] shader变量提交周...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513
...动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activ...
来源: Laya2.0_api 发布时间: 20190513
...ght:Number, rect:Rectangle = null):Rectangle 在锚点的基础上计算,通过宽和高,重新计算视口 TiledMap createMap(mapName:String, viewRect:Rectangle, completeHandler:Handler, viewRectPadding:Rectangle = null, gridSize:Point = null, enableLinear:Boolean = true, limitRange:Boolean ...
来源: Laya2.0_api 发布时间: 20190513
...void[override] 释放纹理 Templet getAniNameByIndex(index:int):String 通过索引得动画名称 Templet getSkinIndexByName(skinName:String):int 通过皮肤名字得到皮肤索引 Templet getTexture(name:String):Texture 得到指定的纹理 Templet loadAni(url:String):voidTemplet ...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513