大约有 3,975 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0081 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(49)
...的 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
...最小值。 StylesProperty DetailbuttonLabelColorspropertypublic static var buttonLabelColors:Array 按钮标签颜色。 格式:[upColor,overColor,downColor,disableColor]。 buttonStateNumproperty public static var buttonStateNum:int = 3 按钮皮肤的状态数,支持1,2,3三种状态值。 ...
来源: Laya2.0_api 发布时间: 20190513
...件) --------------------------------------------------------------------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
...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_示例 发布时间: 20241124
... //开启统计信息 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
...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_示例 发布时间: 20241124
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
...为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_示例 发布时间: 20241124
...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_示例 发布时间: 20241124
....*; 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