大约有 821 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0057 秒)
Laya_社区(448) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37) Laya3.0_文档(36)
...a 无效 texture 替换后显示错误! 微信真机下游戏MAX_TEXTURE_SIZE 请问layabox支持render texture么? Texture,和Texture2D如何互转? webgl模式下,Texture绘制出现内存泄漏【有demo】 关于Texture的nv layaAir的位图字体fnt可以兼容 egret 的 texture merger工...
来源: Laya_社区 发布时间: 20200602
...lay(marker); var label = new BMap.Label("当前位置", { offset: new BMap.Size(-15, 30) }); marker.setLabel(label); } function createInfoText() { infoText = new Text(); Laya.stage.addChild(infoText); infoText.fontSize = 50; infoText.color = "#FFFFFF"; infoText.size(Laya.stage.width, Laya.stage.heig...
来源: Laya_示例 发布时间: 20241118
...8-18 0 1 分享 微博 QZONE 微信 houkaihua888 赞同来自: 我设置了size()是可以点了,但是区域在小人的脚下右边,其实我想点击“小人”换装,其他空白的地方不换 就像pixi.js的一样 大神求示例 2017-08-18 0 0 分享 微博 QZONE 微信 houkaihua8...
来源: Laya_社区 发布时间: 20170818
...e() { var ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; var scaleFactor = Browser.pixelRatio; Laya.stage.addChild(ta); } })();module laya { import Stage = Laya.Stage; impo...
来源: Laya_示例 发布时间: 20241118
...ood = new Sprite(); Laya.stage.addChild(food); foods.push(food); const foodSize = 40; food.size(foodSize, foodSize); food.graphics.drawRect(0, 0, foodSize, foodSize, "#00BFFF"); food.x = Math.random() * Laya.stage.width; food.y = Math.random() * Laya.stage.height; } } class Segment extends Laya.Spri...
来源: Laya2.0_示例 发布时间: 20241118
...Area; let ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; Laya.stage.addChild(ta); } } new UI_TextArea();module laya { import Stage = Laya.Stage; import TextArea = Laya.Text...
来源: Laya2.0_示例 发布时间: 20241118
...ialFontInfo _id : uintFontInfo _italic : Boolean = falseFontInfo _size : int = 14FontInfoPublic Methods MethodDefined By FontInfo(font:String)FontInfo Parse(font:String):FontInfo[static] FontInfo setFont(value:String):voidFontInfoProperty Detail_boldpropertypublic var _bold:Boole...
来源: Laya2.0_api 发布时间: 20190513
...arget(index:int):RenderTextureParallelSplitShadowMap getShadowMapTextureSize():intParallelSplitShadowMap getSplitDistance(index:int):NumberParallelSplitShadowMap getSplitFrustumCulling():BoundFrustumParallelSplitShadowMap multiplyMatrixOutFloat32Array(left:Matrix4x4, right:Matrix4x4, out...
来源: laya_api 发布时间: 20170929
...llLater triggered"); var text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stag...
来源: Laya_示例 发布时间: 20241118
...lay(marker); let label = new BMap.Label("当前位置", { offset: new BMap.Size(-15, 30) }); marker.setLabel(label); } createInfoText() { const Text = Laya.Text; infoText = new Text(); Laya.stage.addChild(infoText); infoText.fontSize = 50; infoText.color = "#FFFFFF"; infoText.size(Laya.stage.width, ...
来源: Laya2.0_示例 发布时间: 20241118