大约有 313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(129) Laya2.0_api(54) laya_api(50) Laya_社区(38) Laya3.0_文档(15) Laya_示例(15) Laya2.0_文档(12)
...ts:36 Parameters value: number Returns void stencilOp set stencilOp(value: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderState.ts:120 Parameters value: Vector3 Returns void stencilRef get stencilRef(): number set stencilRef(value: number): void Defined in laya/d3/RenderObjs/Nati...
来源: Laya3.0_api 发布时间: 20231115
...nimator) as Laya.Animator; console.log("11"); } public RoleMove(dir:Laya.Vector3) { let norDir:Laya.Vector3 = Laya.Vector3.ZERO; Laya.Vector3.normalize(dir,norDir); console.log(norDir); //this.sprite.transform.translate(norDir,false); // let position = Laya.Vector3.ZERO; // Laya.Vector3.add(this.s...
来源: Laya_社区 发布时间: 20191026
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:56 用于生成粒子初始位...
来源: Laya3.0_api 发布时间: 20231115
...his.scene.addChild(box); // 设置位置 box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addCompone...
来源: Laya3.0_文档 发布时间: 20251010
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:59 用于生成粒子初始...
来源: Laya3.0_api 发布时间: 20231115
...in laya/d3/physicsCannon/CannonContactPoint.ts:19 距离。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonContactPoint.ts:21 法线。 positionOnA positionOnA: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonContactPoint.ts:23 碰撞器A的碰撞点。 ...
来源: Laya3.0_api 发布时间: 20231102
...= 0 Defined in laya/d3/physics/ContactPoint.ts:19 距离。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physics/ContactPoint.ts:21 法线。 positionOnA positionOnA: Vector3 = new Vector3() Defined in laya/d3/physics/ContactPoint.ts:23 碰撞器A的碰撞点。 positionOnB positionOnB:...
来源: Laya3.0_api 发布时间: 20231115
...获取包围盒,不允许修改其值。 BaseRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRen...
来源: laya_api 发布时间: 20170929
...or4] Defined in laya/d3/shader/SubShader.ts:48 a_Normal a_Normal: [number, Vector3] = [VertexMesh.MESH_NORMAL0, ShaderDataType.Vector3] Defined in laya/d3/shader/SubShader.ts:44 a_Position a_Position: [number, Vector4] = [VertexMesh.MESH_POSITION0, ShaderDataType.Vector4] Defined in laya/d3/shader/S...
来源: Laya3.0_api 发布时间: 20231102
...erties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape sizeX : Number[read-only] 获取X轴...
来源: Laya2.0_api 发布时间: 20190513