大约有 1,036 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya3.0_文档(73) Laya_社区(11) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画...
来源: Laya2.0_api 发布时间: 20190513
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画...
来源: laya_api 发布时间: 20170929
...Listener off offAll offAllCaller on once Properties axisLength axisLength: number Defined in laya/d3/WebXR/core/WebXRGamepad.ts:16 轴数量 handness handness: string Defined in laya/d3/WebXR/core/WebXRGamepad.ts:12 轴设备名字 Static EVENT_OUTPUT EVENT_OUTPUT: string = "outputAxi_id" Defined in...
来源: Laya3.0_api 发布时间: 20231115
...缩条底边缘固定,进度越大,伸缩条越往上延伸。 Whole Numbers 勾选后,当滑动条被用户滑动时,最后只会停止在整数位置上,也就是滑动条的值始终是整数。这个功能可用于实现分级的滑动条。 Change On Click 勾选后,直接点击滑...
来源: Laya3.0_文档 发布时间: 20251010
...ayShaderCompile3DPublic Methods MethodDefined By ShaderCompile3D(name:Number, vs:String, ps:String, attributeMap:Object, uniformMap:Object, includeFiles:*)ShaderCompile3D add(nameID:int, vs:String, ps:String, attributeMap:Object, uniformMap:Object):ShaderCompile3D[static] 添加预编译shad...
来源: laya_api 发布时间: 20170929
...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。Ba...
来源: laya_api 发布时间: 20170929
...,段数越多圆越平滑 */ private generateCircleVerticesAndUV(radius: number, numSegments: number): Laya.Mesh2D { // 2π const twoPi = Math.PI * 2; // 顶点数组 let vertexs = new Float32Array((numSegments + 1) * 5); // 索引数组 let index = new Uint16Array((numSegments + 1) * 3); var pos ...
来源: Laya3.0_文档 发布时间: 20251120
...持非主流的new Tween()用法。 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外...
来源: Laya3.0_文档 发布时间: 20251010
...atic createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, null, name); meshTerrainSprite3D._initCreateFromMeshHeightMap(texture, minHei...
来源: Laya3.0_文档 发布时间: 20230303
...sprite: Laya.Sprite; private spine: Laya.Spine2DRenderNode; private index: number = -1; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //加载Spine动画资源 Laya.loader.load("resources/boy/spineboy-pma.skel").then(() => ...
来源: Laya3.0_文档 发布时间: 20250104