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

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

241. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 64%]

...port1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2:Laya.Viewport = camera2.normalizedViewport; viewport2.width = 0.8; viewport2.x = 0.2; camera2.normalizedViewport = viewport2; }); ``` ...

来源: Laya2.0_文档 发布时间: 20210715

242. 按钮组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...I_Button extends Laya.Script { private COLUMNS: number = 2; private BUTTON_WIDTH: number = 147; private BUTTON_HEIGHT: number = 165 / 3; private HORIZONTAL_SPACING: number = 200; private VERTICAL_SPACING: number = 100; private xOffset: number; private yOffset: number; private skins: any[]; //组件...

来源: Laya3.0_文档 发布时间: 20251010

243. laya.ui.Clip_API3.0 [ 64%]

...X 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其...

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

244. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 63%]

...edMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoadedMap)); } private var sp:Sprite; private function onLoadedMap():void { var mapLayer:MapLayer=tiledMap.getLayerByIndex(2); sp=new Sprite(); sp.graphics.drawRect(0,0,100,100...

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

245. drawToCanvas转出图片与游戏内显示颜色差距过大 [ 63%]

... delayShow() {         let canvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);         let str = canvas.toBase64('image/png', 1);                 let img = document.createElement('img');         img.style.position = 'absolute';         img.style.top =...

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

246. laya.ui.HSlider_API3.0 [ 63%]

...al mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawC...

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

247. laya.ui.VSlider_API3.0 [ 63%]

...al mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawC...

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

248. laya.ui.List_API3.0 [ 63%]

...Enable selectHandler tag totalPage drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY array bgColor blendMode bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInSt...

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

249. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 63%]

... viewport1:Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2:Viewport = camera2.normalizedViewport; viewport2.width = 0.8; viewport2.x = 0.2; camera2.normalizedViewport = viewport2; }); ``` ![](i...

来源: Laya2.0_文档 发布时间: 20210715

250. laya.ui.ColorPicker_API3.0 [ 63%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage draw...

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