大约有 280 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
Laya_社区(172) Laya3.0_api(32) Laya2.0_文档(31) laya_api(16) Laya2.0_api(14) Laya_示例(8) Laya3.0_文档(7)
...hader3D.PERIOD_SPRITE] }; var customShader: number = Laya.Shader3D.nameKey.add("CustomShader"); var vs: string = "attribute vec4 a_Position;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_WorldMat;\n" + "attribute vec3 a_Normal;\n" + "varying vec3 v_Normal;\n" + "void main(){\n" + "gl_Position...
来源: Laya_社区 发布时间: 20180904
...enter:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode getBound():BoundBox 获取包围盒。 BoundsOctreeNode getCollidingWithBoundBox(checkBound:BoundBox, result:Array):void 获取与指定包围盒...
来源: Laya2.0_api 发布时间: 20190513
...ativeElement fromArray length lengthSquared setValue toArray writeTo Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new Vector4(x?: number, y?: number, z?: number, w?: number): Vector4 Defined in laya/maths/Vector...
来源: Laya3.0_api 发布时间: 20231115
...ength lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: number, ...
来源: Laya3.0_api 发布时间: 20231115
...ativeElement fromArray length lengthSquared setValue toArray writeTo Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new Vector4(x?: number, y?: number, z?: number, w?: number): Vector4 Defined in laya/d3/math/Vect...
来源: Laya3.0_api 发布时间: 20231102
...cessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new ConchVector4(x?: number, y?: number, z?: number, w?: number): ConchVector4 Defined in laya/d3...
来源: Laya3.0_api 发布时间: 20231102
...ength lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: number, ...
来源: Laya3.0_api 发布时间: 20231102
...OLOR0,new Laya.Vector4(0,0,1,1)); var customShader = Laya.Shader3D.nameKey.add("GradientShader"); Laya.ShaderCompile3D.add(customShader, vs, ps, attributeMap, uniformMap); this.setShaderName("GradientShader"); 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180316
...//开启debug编译shader时生成打印shader参数 this._addDebugShaderVariantCollection(compileDefine); } debugShader : Laya.Shader debugShader : Laya.SubShader Laya.ShaderPass -> _addDebugShaderVariantCollection(compileDefine) { var dbugS...
来源: Laya_社区 发布时间: 20200606
...置panel的垂直滚动条,方便看出panel的滚动变化 Laya.stage.addChild(panel); var sp:Sprite=new Sprite();//panel的子容器sp sp.graphics.drawRect(0,0,500,1000,"#FF0000"); sp.size(500,1000); panel.addChild(sp); var btnAdd:Button=new Button();//点击按钮,动态添加sp的子对象...
来源: Laya_社区 发布时间: 20170601