大约有 849 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(499) Laya3.0_api(111) Laya3.0_文档(74) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
...import laya.net.Loader; import laya.ui.TextArea; import laya.resource.Texture; import laya.maths.Point; import laya.utils.Tween; import laya.d3.resource.models.PrimitiveMesh; import laya.debug.DebugPanel; import laya.debug.DebugTool; import lay...
来源: Laya_社区 发布时间: 20170921
...t;code>Texture</code> 是一个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this...
来源: Laya_社区 发布时间: 20180504
...ge.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { progressBar = new ProgressBar("resource/ui/progress.png");//创建...
来源: Laya3.0_api 发布时间: 20231115
...ge.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HSlider 类的实例对象 hS...
来源: Laya3.0_api 发布时间: 20231115
...ge.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VSlider 类的实例对象 vS...
来源: Laya3.0_api 发布时间: 20231115
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.resource.models.SubMesh; import laya.d3.shader.Shader3D; import la...
来源: Laya_示例 发布时间: 20260303
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.Cam...
来源: Laya_示例 发布时间: 20260303
...sspublic class GlitterMaterialInheritanceGlitterMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁...
来源: laya_api 发布时间: 20170929
...public class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...
来源: laya_api 发布时间: 20170603
...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Sprite_SwitchTexture { private var texture1:String = "../../res/apes/monkey2.png"; private var texture2:String = "....
来源: Laya2.0_示例 发布时间: 20260303