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

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

81. laya.display.cmd.DrawPathCmd [ 71%]

... DrawPathCmdPublic Constants ConstantDefined By  ID : String = DrawPath[static] DrawPathCmdProperty Detailbrushpropertypublic var brush:Object (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 pathsproperty public var paths:Array 路径集合,路径支持以下格式:[["m...

来源: Laya2.0_api 发布时间: 20190513

82. laya.d3.graphics.IndexBuffer3D [ 71%]

...Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-only] Buffer _byteLength : int = 0Buffer  canRead : Boolean[read-only] 获取是否可读。 IndexBuffer3D  create : Function[static] 创建Ind...

来源: laya_api 发布时间: 20170929

83. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 71%]

...import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCe...

来源: Laya_社区 发布时间: 20171124

84. laya.d3.math.Quaternion [ 71%]

... Quaternion  add(left:Quaternion, right:Quaternion, out:Quaternion):void[static] 计算两个四元数的和 Quaternion  clone():* 克隆。 Quaternion  cloneTo(destObject:*):void 克隆。 Quaternion  createFromAxisAngle(axis:Vector3, rad:Number, out:Quaternion):void[static] 从指定的轴...

来源: Laya2.0_api 发布时间: 20190513

85. laya.display.cmd.DrawTexturesCmd [ 71%]

...turesCmdPublic Constants ConstantDefined By  ID : String = DrawTextures[static] DrawTexturesCmdProperty Detailpospropertypublic var pos:Array 绘制次数和坐标。 textureproperty public var texture:Texture 纹理。 Method Detailrecover()method public function recover():void 回收到对象...

来源: Laya2.0_api 发布时间: 20190513

86. laya.display.cmd.TranslateCmd [ 71%]

...ranslateCmdPublic Constants ConstantDefined By  ID : String = Translate[static] TranslateCmdProperty Detailtxpropertypublic var tx:Number 添加到水平坐标(x)上的值。 typroperty public var ty:Number 添加到垂直坐标(y)上的值。 Method Detailrecover()method public function...

来源: Laya2.0_api 发布时间: 20190513

87. laya.ui.Dialog [ 70%]

...的水平距离(以像素为单位)。 View  manager : DialogManager[static] 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理,可以自定义自己的管理器,来更改窗口管理的流程。 任意对话框打开和关闭,都会触发管理类的...

来源: Laya2.0_api 发布时间: 20190513

88. laya.display.css.TextStyle [ 70%]

...换行。 TextStylePublic Methods  MethodDefined By  create():TextStyle[static] 从对象池中创建 TextStyle  recover():void[override] TextStyle  render(sprite:Sprite, context:Context, x:Number, y:Number):voidTextStyle  reset():SpriteStyle[override] TextStylePublic Constants ConstantDef...

来源: Laya2.0_api 发布时间: 20190513

89. 分享一个Shader版的CoolDown实现 [ 69%]

...前着色器的一个实例对象。          */         public static shader: coolDownShader = new coolDownShader();         constructor() {             var vs: string = " \             attribute vec2 position; \             attribute vec2 texcoord; \           ...

来源: Laya_社区 发布时间: 20170606

90. laya.maths.Point [ 69%]

... Point  copy(point:Point):Point copy point坐标 Point  create():Point[static] 从对象池创建 Point  distance(x:Number, y:Number):Number 计算当前点和目标点(x,y)的距离。 Point  normalize():void 标准化向量。 Point  recover():void 回收到对象池,方便复用 Poi...

来源: Laya2.0_api 发布时间: 20190513