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

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

201. laya.ui.LayoutStyle [ 94%]

...的 LayoutStyle 实例。LayoutStyleProperty DetailanchorXpropertypublic var anchorX:Number = NaNX锚点,值为0-1。anchorYproperty public var anchorY:Number = NaNY锚点,值为0-1。bottomproperty public var bottom:Number = NaN表示距底边的距离(以像素为单位)。centerXpropert...

来源: laya_api 发布时间: 20170929

202. laya.ui.Styles [ 94%]

...最小值。 StylesProperty DetailbuttonLabelColorspropertypublic static var buttonLabelColors:Array 按钮标签颜色。 格式:[upColor,overColor,downColor,disableColor]。 buttonStateNumproperty public static var buttonStateNum:int = 3 按钮皮肤的状态数,支持1,2,3三种状态值。 ...

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

203. LayaAir 寻路库,寻路路径错误 [ 94%]

...件) --------------------------------------------------------------------var arr:Array = [[0,1,1],[0,1,1],[0,0,0]]; var opt:Object = {allowDiagonal: true, dontCrossCorners: false, heuristic: Heuristic["manhattan"], weight: 1}; var astart1:AStarFinder = new AStarFinder(opt); var grid:Grid = new Gri...

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

204. 文本-字符限制 [ 94%]

...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Input = Laya.Input; var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV =...

来源: Laya_示例 发布时间: 20240930

205. discard property,please use transform's property instead [ 94%]

...        //开启统计信息         Laya.Stat.show();         var scene = Laya.stage.addChild(new Laya.Scene());         var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000));         camera.transform.translate(new Laya.Vector3(0, 1.5, 4));         camera.transform.rota...

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

206. Sprite-旋转缩放 [ 94%]

...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var ape; var scaleDelta = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Brow...

来源: Laya_示例 发布时间: 20240930

207. 3d 轮廓描边示例改描边颜色无效 [ 94%]

3d 轮廓描边示例改描边颜色无效 BlurEffect.init(); var unlitMaterial = new UnlitMaterial(); unlitMaterial.albedoColor = new Vector4(255,0,0,255); var shurikenMaterial:ShurikenParticleMaterial = new ShurikenParticleMaterial(); shurikenMaterial.color = new Vector4(255,0,0,255);   按我...

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

208. 2D物理-碰撞过滤器 [ 93%]

...为house刚体默认的category,若不设置,则会穿透house private var curTarget: Sprite; private var preMovementX: Number = 0; private var preMovementY: Number = 0; public function Physics_Physics_CollisionFiltering() { Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(...

来源: Laya2.0_示例 发布时间: 20240930

209. 输入设备-指南针 [ 93%]

...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Gyroscope = Laya.Gyroscope; var RotationInfo = Laya.RotationInfo; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var...

来源: Laya_示例 发布时间: 20240930

210. ComboBox显示问题 [ 93%]

....*; import laya.display.*;  public class MainHeadUI extends View { public var image1:Image; public var input:TextInput; public var combox:ComboBox; public var radio:RadioGroup; public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = ...

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