大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0062 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#336699"; showApe(); } private function showApe():void { var t:Text = new Text(); t.text = "asdfasd"; t....
来源: Laya_社区 发布时间: 20170406
...it(550, 400); info = new Text(); info.fontSize = 50; info.color = "#FFFFFF"; info.size(Laya.stage.width, Laya.stage.height); Laya.stage.addChild(info); Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); } private function onDeviceorientation(absolut...
来源: Laya2.0_文档 发布时间: 20210714
...合无效(版本2.6) HTMLDivElement 2.0 排版问题 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 富文本:LayaAir下 HtmlDivElement的使用汇总 关于同为object层,层级设置无效的问题 (此问题已经无效) matter.js mouseconstrain...
来源: Laya_社区 发布时间: 20170915
...Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); } Construct() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let rigidbody = new Laya.RigidBody(); rigidbody.type = "static"; ground.addComponent...
来源: Laya2.0_示例 发布时间: 20250223
...ht = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 ...
来源: Laya_社区 发布时间: 20180725
...wcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){
来源: Laya_社区 发布时间: 20180516
...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 matter.js mouseconstraint在微信小游戏中无效 3D动画混合无效 在设计模式里A元素比B元素...
来源: Laya_社区 发布时间: 20190918
...IAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLEND_DST_RGB RENDER_STATE_BLEND_EQUATION RENDER_STATE_BLEND_EQUATION_ALPHA RENDER_STATE_BLEND_EQUATION_RGB RENDER_STATE_BLEND_SRC RENDER_STATE_BLEND_SRC_...
来源: Laya3.0_api 发布时间: 20231102
...式 text:"请修改掉默认的配置", //需要绘制的文本 color:"#000000", //文字的颜色 backgroundColor:"#ffffff", //背景颜色 }; //将传入的配置覆盖掉默认配置 if(!!options && typeof options === "object"){ for(var i in options...
来源: Laya_社区 发布时间: 20180814
...lculateBounds clone cloneTo destroy event getBoneIndices getBoneWeights getColors getIndices getNormals getPositions getSubMesh getTangents getUVs getVertexDeclaration getVertices hasListener isCreateFromURL markAsUnreadbale off offAll offAllCaller on once setBoneIndices setBoneWeights setColors set...
来源: Laya3.0_api 发布时间: 20231115