大约有 13 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0028 秒)
... WebGL = Laya.WebGL; var Browser = Laya.Browser; var Stat = Laya.Stat; var Render = Laya.Render; var stageWidth = 800; var stageHeight = 600; var Matter = Browser.window.Matter; var LayaRender = Browser.window.LayaRender; var mouseConstraint; var engine; (function() { // 不支持WebGL时自动切...
来源: Laya_示例 发布时间: 20241117
...tage = Laya.Stage; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Render = Laya.Render; var stageWidth = 800; var stageHeight = 600; var Matter = Browser.window.Matter; var LayaRender = Browser.window.LayaRender; var mouseConstraint; var engine; (function() { // 不支持WebGL时自动切...
来源: Laya_示例 发布时间: 20241117
...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Render = Laya.Render; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var stageWidth = 800; var stageHeight = 600; var Matter = window.Matter; var LayaRender = window.LayaRender; var mouseConstraint; var engine; (function(...
来源: Laya_示例 发布时间: 20241117
...; // 设置Video元素地样式和属性 videoElement.style.zInddex = Laya.Render.canvas.style.zIndex + 1; videoElement.src = "../../res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinli...
来源: Laya_示例 发布时间: 20241117
...var input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.width = "100px"; Laya.Browser.document.body.appendChild(input); return input; } function fitDOMElements(){ for (var i = 0; i < arguments.length; i++) { var dom = arguments[i]; Laya.Utils....
来源: Laya_示例 发布时间: 20241117
...i/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 se...
来源: Laya_示例 发布时间: 20241117
...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.graphics.IndexBuffer3D; import laya.d3.graphics.VertexBuffer3D; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; imp...
来源: Laya_示例 发布时间: 20241117
...ets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //加载材质 layaMonkey.meshRender.material = Laya.StandardMaterial.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Materials/T_Diffuse.lmat"); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rot...
来源: Laya_示例 发布时间: 20241117
...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import lay...
来源: Laya_示例 发布时间: 20241117
...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.graphics.IndexBuffer3D; import laya.d3.graphics.VertexBuffer3D; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; imp...
来源: Laya_示例 发布时间: 20241117