大约有 21 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0031 秒)
...r() 创建一个 Picker 实例。 Picker calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out:Ray):void[static] 计算鼠标生成的射线。 Picker rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, vertex3:...
来源: Laya2.0_api 发布时间: 20190513
...的键控代码值 (66) 关联的常数。Keyboard BACKQUOTE : int = 192[static] 与 ` 键的键控代码值 (192) 关联的常数。Keyboard BACKSLASH : int = 220[static] 与 \ 键的键控代码值 (220) 关联的常数。Keyboard BACKSPACE : int = 8[static] 与 Backspace 的键控代码...
来源: Laya2.0_api 发布时间: 20190513
...ex:int):Plane 获取锥截体的任意一平面。 0:近平面 1:远平面 2:左平面 3:右平面 4:顶平面 5:底平面 BoundFrustumProperty Detailbottompropertybottom:Plane [read-only] 获取底平面。 Implementation public function get bottom():Planefarproperty far:Plane [read-...
来源: Laya2.0_api 发布时间: 20190513
...] shader变量提交周期,逐场景。Shader3D PERIOD_SPRITE : int = 2[static] shader变量提交周期,逐精灵和相机,注:因为精灵包含MVP矩阵,为复合属性,所以摄像机发生变化时也应提交。Shader3D RENDER_STATE_BLEND : int = 1[static] 渲染状态_混合...
来源: Laya2.0_api 发布时间: 20190513
...eTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture defaulteTexture : BaseTexture[read-only] 获取默认纹...
来源: Laya2.0_api 发布时间: 20190513
...e1 : BaseTexture 获取第一层贴图。 TerrainMaterial diffuseTexture2 : BaseTexture 获取第二层贴图。 TerrainMaterial diffuseTexture3 : BaseTexture 获取第三层贴图。 TerrainMaterial diffuseTexture4 : BaseTexture 获取第四层贴图。 TerrainMaterial normalTexture : B...
来源: Laya2.0_api 发布时间: 20190513
...hysics3DUtils getIColliderCollision(collider1:PhysicsComponent, collider2:PhysicsComponent):Boolean[static] 获取是否忽略两个碰撞器的碰撞检测。 Physics3DUtils setColliderCollision(collider1:PhysicsComponent, collider2:PhysicsComponent, collsion:Boolean):void[static] 是否忽...
来源: Laya2.0_api 发布时间: 20190513
...额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优...
来源: Laya2.0_api 发布时间: 20190513
... MESH_COLOR0 : int = 1[static] VertexMesh MESH_MVPMATRIX_ROW0 : int = 12[static] VertexMesh MESH_MVPMATRIX_ROW1 : int = 13[static] VertexMesh MESH_MVPMATRIX_ROW2 : int = 14[static] VertexMesh MESH_MVPMATRIX_ROW3 : int = 15[static] VertexMesh MESH_NORMAL0 : int = 3[static] VertexMesh...
来源: Laya2.0_api 发布时间: 20190513
...n1 : VertexDeclaration[static] [read-only] VertexTrail vertexDeclaration2 : VertexDeclaration[static] [read-only] VertexTrailPublic Methods MethodDefined By VertexTrail()VertexTrailPublic Constants ConstantDefined By TRAIL_OFFSETVECTOR : int = 1[static] VertexTrail TRAIL_POSITION0 : i...
来源: Laya2.0_api 发布时间: 20190513