大约有 756 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0053 秒)
Laya_社区(438) Laya3.0_api(111) Laya3.0_文档(48) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...mport laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.ui.Image; import laya.utils.Handler; import laya.utils.Stat; public class D3SpaceToD2Space { private var scene:Scene; private var camera:Camera; private var layaMon...
来源: Laya_示例 发布时间: 20241119
...lass BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRender, TerrainRender, WaterRender Render 类用于渲染器的父类,抽象类不允许实例。 Public Properties PropertyDefined By boundingBox :...
来源: laya_api 发布时间: 20170929
...e; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Color { private const ApePath:String = "../../../../res/apes/monkey2.png"; private var apeTexture:Texture; ...
来源: Laya_示例 发布时间: 20241119
...:Texture public function set source(value:Texture):voidSee alsolaya.resource.Texturewidthproperty width:Number 表示显示对象的宽度,以像素为单位。 Implementation public function get width():Number public function set width(value:Number):voidMethod Detaildestroy...
来源: Laya2.0_api 发布时间: 20190513
...(): void Defined in laya/d3/core/render/PostEffect/BloomEffect.ts:69 bloom resource init Returns void Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect constructor active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode intensity softKnee threshold effectInit g...
来源: Laya3.0_api 发布时间: 20231115
...e; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Color { private const ApePath:String = "../../res/apes/monkey2.png"; private var apeTexture:Texture; public...
来源: Laya2.0_示例 发布时间: 20241119
... [size=14][code]// Use ZIP when loading files // Note By convention, only resource files in the level-1 directory are loaded Laya.loader.create([{ url: "xx.zip", type:"ZIP"}]) [/size][/code] 如果只需要加载zip包中的部分资源,或者资源路径在多级目录下。可以在constructPara...
来源: Laya_社区 发布时间: 20211227
...ightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32, 96); this.rightBg.width = 32; this.addChild(this.rightBg); } switch(type){ case 1: this.rightBg.visible = false; this.bg.graphics.drawTexture(this.bg...
来源: Laya_社区 发布时间: 20160803
...aya.d3.shaderClasspublic class Shader3DInheritanceShader3D BaseShader laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By activeShader : BaseShader[static] BaseShader _attributeParams : Array = nullShader3D _attributePa...
来源: laya_api 发布时间: 20170929
...public class StandardMaterialInheritanceStandardMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁...
来源: laya_api 发布时间: 20170929