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

大约有 220 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0069 秒)

101. laya.ui.Radio [ 48%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚,值为0-1,设置anchorX值最终通过pivotX值来改变节轴心。UIComponent anchorY : NumberY锚,值为0-1,设置anchorY值最终通过pivotY值来改变节轴心。UIComponent autoSize : Boolean = false 指定...

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

102. laya.ui.FontClip [ 48%]

...ode EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontCli...

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

103. laya.display.Animation_API3.0 [ 48%]

...tion_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation...

来源: Laya3.0_api 发布时间: 20231115

104. laya.d3.core.pixelLine.PixelLineSprite3D [ 48%]

...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节的属性 mouseEnabled 的值为 true(如果父节mouseEnabled=false,则停止设置父节mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节和组件均...

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

105. laya.ui.Image [ 48%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚,值为0-1,设置anchorX值最终通过pivotX值来改变节轴心。UIComponent anchorY : NumberY锚,值为0-1,设置anchorY值最终通过pivotY值来改变节轴心。UIComponent autoSize : Boolean = false 指定...

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

106. laya.d3.core.scene.VRScene [ 48%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

来源: laya_api 发布时间: 20170422

107. laya.display.Text_API3.0 [ 48%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 example package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "...

来源: Laya3.0_api 发布时间: 20231115

108. laya.physics.PhysicsDebugDraw [ 48%]

...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...

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

109. laya.ui.ProgressBar [ 48%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚,值为0-1,设置anchorX值最终通过pivotX值来改变节轴心。UIComponent anchorY : NumberY锚,值为0-1,设置anchorY值最终通过pivotY值来改变节轴心。UIComponent autoSize : Boolean = false 指定...

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

110. laya.ui.Label_API3.0 [ 48%]

...ss Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 lab...

来源: Laya3.0_api 发布时间: 20231115