大约有 1,692 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1275) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(25) Laya_示例(24) Laya2.0_示例(3)
...: 顶点着色器 `outline.vs` 代码如下: ```c++ attribute vec4 a_Position; attribute vec3 a_Normal; uniform mat4 u_MvpMatrix; uniform float u_OutlineWidth; void main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_OutlineWidth, 1.0); gl_Position = u_MvpMatrix * position; } ``` 片元...
来源: Laya2.0_文档 发布时间: 20210715
... Hierarchy Touch Implements ISingletonElement Index Accessors identifier position Methods _getIndexInList _setIndexInList Accessors identifier get identifier(): number Defined in laya/d3/Touch.ts:21 获取唯一识别ID。 Returns number 唯一识别ID。 position get position(): Vector2 Defined in ...
来源: Laya3.0_api 发布时间: 20231102
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinInheritanceVertexPositionNormalTexture0Texture1Skin ObjectImplements IVertex VertexPosi...
来源: laya_api 发布时间: 20170929
...分支处理内: var shapeOffset = this._colliderShape.localOffset; var position = transform.position; var btPosition = PhysicsComponent._btVector30; if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = PhysicsComponent._tempVector30; var worldMat = transfo...
来源: Laya_社区 发布时间: 20211104
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1SkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1SkinTangentInheritanceVertexPositionNormalColorTexture0Texture1SkinTangent...
来源: laya_api 发布时间: 20170929
...ew Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLight.direction = dir; 目的是让聚光灯,始终朝向...
来源: Laya_社区 发布时间: 20171105
...ew Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLight.direction = dir; 目的是让聚光灯,始终朝向...
来源: Laya_社区 发布时间: 20171105
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinTangentInheritanceVertexPositionNormalTexture0Texture1SkinTangent ObjectImplemen...
来源: laya_api 发布时间: 20170929
....MeshSprite3D(Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); spher...
来源: Laya2.0_文档 发布时间: 20210715
...色器程序。 let vs: string = `attribute vec2 position; attribute vec2 texcoord; attribute vec4 color; uniform vec2 size; uniform mat4 mmat; varying vec2...
来源: Laya_社区 发布时间: 20180612