• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 57 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0028 秒)

1. laya.utils.ClassUtils [ 100%]

...建一个。  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

2. laya.net.URL [ 87%]

...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

3. laya.d3.math.ContainmentType [ 85%]

... 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

4. laya.ui.View [ 81%]

... Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使...

来源: laya_api 发布时间: 20170929

5. laya.ui.UIEvent [ 77%]

...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

6. laya.d3.core.MeshRender [ 77%]

...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

7. laya.display.BitmapFont [ 76%]

...tmapFontInheritanceBitmapFont Object BitmapFont 是位图字体,用于定义位图字体信息。 Public Properties PropertyDefined By  autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont  fontSize : Number = 12当前位图字...

来源: laya_api 发布时间: 20170929

8. laya.d3.core.render.BaseRender [ 75%]

...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

9. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 71%]

... 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

10. laya.display.Graphics [ 63%]

...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