大约有 57 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0029 秒)
...建一个。 root:Node (default = null) — 根节点,用来设置var定义。 customHandler:Handler (default = null) instanceHandler:Handler (default = null)Returns* — 生成的节点。 getInstance()method public static function getInstance(className:String):* 根据名称创建 Class ...
来源: laya_api 发布时间: 20170929
...ds Packagelaya.netClasspublic class URLInheritanceURL Object URL 类用于定义地址信息。 Public Properties PropertyDefined By basePath : String[static] 基础路径。URL customFormat : Function[static] 自定义url格式化。例如: customFormat = function(url:String):String{} URL...
来源: laya_api 发布时间: 20170929
... ContainmentTypeInheritanceContainmentType Object ContainmentType 类用于定义空间物体位置关系。 Public Constants ConstantDefined By Contains : int = 1[static] ContainmentType Disjoint : int = 0[static] ContainmentType Intersects : int = 2[static] ContainmentTypeConstant Detail...
来源: laya_api 发布时间: 20170929
... Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使...
来源: laya_api 发布时间: 20170929
...iClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活...
来源: laya_api 发布时间: 20170929
...nder 实例。 MeshRender _addShaderDefine(value:int):void 增加Shader宏定义。 BaseRender _removeShaderDefine(value:int):void 移除Shader宏定义。 BaseRender _setShaderValueBool(shaderIndex:int, b:Boolean):void 设置布尔。 BaseRender _setShaderValueBuffer(shaderIndex:int, buffer:Flo...
来源: laya_api 发布时间: 20170929
...tmapFontInheritanceBitmapFont Object BitmapFont 是位图字体类,用于定义位图字体信息。 Public Properties PropertyDefined By autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont fontSize : Number = 12当前位图字...
来源: laya_api 发布时间: 20170929
...er 实例。 BaseRender _addShaderDefine(value:int):void 增加Shader宏定义。 BaseRender _removeShaderDefine(value:int):void 移除Shader宏定义。 BaseRender _setShaderValueBool(shaderIndex:int, b:Boolean):void 设置布尔。 BaseRender _setShaderValueBuffer(shaderIndex:int, buff...
来源: laya_api 发布时间: 20170929
... ShurikenParticleRender _addShaderDefine(value:int):void 增加Shader宏定义。 BaseRender _removeShaderDefine(value:int):void 移除Shader宏定义。 BaseRender _renderUpdate(projectionView:Matrix4x4):void[override] ShurikenParticleRender _setShaderValueBool(shaderIndex:int, b:Boolean):voi...
来源: laya_api 发布时间: 20170929
...r],["closePath"]]。 brush:Object (default = null) — (可选)刷子定义,支持以下设置{fillStyle}。 pen:Object (default = null) — (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin,lineCap,miterLimit}。 drawPie()method public function drawPie(x:Numbe...
来源: laya_api 发布时间: 20170929