大约有 1,054 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0069 秒)
Laya_社区(387) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(8)
..."fixedwidth", "fixedheight"]; //当前适配模式索引 private var index:int = 0; //全局文本信息 private var txt:Text; public function SmartScale_T() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); //设置适配模式 Laya.stage.scaleMode = "noscale"; //设置横竖...
来源: Laya_示例 发布时间: 20241126
...ton:Button; private var zombieAnimator:Animator; private var curStateIndex:int = 0; private var clipName:Array = ["walk","attack","left_fall","right_fall","back_fall"]; public function SkinAnimation_New() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Sta...
来源: Laya_示例 发布时间: 20241126
..."fixedwidth", "fixedheight"]; //当前适配模式索引 private var index:int = 0; //全局文本信息 private var txt:Text; public function SmartScale_T() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); //设置适配模式 Laya.stage.scaleMode = "noscale"; //设置横竖...
来源: Laya2.0_示例 发布时间: 20241126
..._TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blend...
来源: Laya3.0_api 发布时间: 20231115
... boolean; /** 分配给触摸点的唯一标识号(作为 int)。*/ touchId: number; /**键盘值*/ keyCode: number; /**滚轮滑动增量*/ delta: number; /** * 设置事件...
来源: Laya_社区 发布时间: 20170601
...e3D = dude2.getChildAt(0).getChildAt(0) as SkinnedMeshSprite3D; for (var i:int = 0; i < skinnedMeshSprite3d.skinnedMeshRender.materials.length; i++) { var mat:StandardMaterial = skinnedMeshSprite3d.skinnedMeshRender.materials[i] as StandardMaterial; //高光贴图 mat.specularTexture = Texture2D.loa...
来源: Laya_示例 发布时间: 20241126
...nster2.transform.localScale = new Vector3(0.002, 0.002, 0.002); for (var i:int = 0; i < monster2._childs.length; i++) { var meshSprite3D:MeshSprite3D = monster2._childs[i] as MeshSprite3D; var material:BlinnPhongMaterial = meshSprite3D.meshRender.material as BlinnPhongMaterial; //法线贴图 materi...
来源: Laya_示例 发布时间: 20241126
...rldMat': [Sprite3D.WORLDMATRIX, Shader3D.PERIOD_SPRITE]}; var customShader:int = Shader3D.nameKey.add("CustomShader"); var vs:String = __INCLUDESTR__("customShader/simpleShader.vs"); var ps:String = __INCLUDESTR__("customShader/simpleShader.ps"); ShaderCompile3D.add(customShader, vs, ps, attributeMa...
来源: Laya_示例 发布时间: 20241126
..._TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE SPECULARSOURCE_DIFFUSEMAPALPHA SPECULARSOURCE_SPECULARMAP defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue backDiffuse backSca...
来源: Laya3.0_api 发布时间: 20231115
... Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[override] [read-only] 获取是否为单实例组件。 Script3D owner : Node [只读]获取所属Node节点。 ComponentPublic Methods Hide Inherited ...
来源: Laya2.0_api 发布时间: 20190513