大约有 1,073 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0058 秒)
Laya_社区(567) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41) Laya3.0_文档(27)
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var earth = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/earth/EarthPlanet.lh")); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res...
来源: Laya_示例 发布时间: 20241118
...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = sc...
来源: Laya_示例 发布时间: 20241118
...r Properties _id destroyedImmediately lock name renderQueue url uuid ALBEDOCOLOR ALBEDOTEXTURE ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE RENDERMODE_CUTOUT RENDERMODE_OPAQUE RENDERMODE_TRANSPARENT RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALBE...
来源: Laya3.0_api 发布时间: 20231115
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("res/cartoon2/background.jpg", 0, 0, 1280, 900); this.createCharacters(); text = new Text(); text.zOrder = 10000; text.fo...
来源: Laya2.0_示例 发布时间: 20241118
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias s...
来源: Laya3.0_api 发布时间: 20231115
...ment = new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; p.innerHTML = html; 然后我如何才能从p中获取"<span color='#e3d26a'>使用</span>". 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170307
...t.LINES, LayaAir3D.camera); this.phasorSpriter3D.line(this._linePos, this._color, this.ray.origin, this._color); this.phasorSpriter3D.end(); console.log("碰撞检测" + this.outHitInfo.distance);//一直都是-1 附件 : --> 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180316
...pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h...
来源: Laya_社区 发布时间: 20171130
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createSingleInput(); this.createMultiInput(); } private createSingleInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...
来源: Laya2.0_文档 发布时间: 20210715
...剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染...
来源: laya_api 发布时间: 20170603