• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)

111. laya.d3.physics.ContactPoint [ 84%]

...B。ContactPoint  distance : Number = 0距离。ContactPoint  normal : Vector3法线。ContactPoint  positionOnA : Vector3碰撞器A的碰撞点。ContactPoint  positionOnB : Vector3碰撞器B的碰撞点。ContactPointPublic Methods  MethodDefined By  ContactPoint() 创建一个 ContactP...

来源: Laya2.0_api 发布时间: 20190513

112. laya.d3.math.Ray_API3.0 [ 84%]

...rties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in laya/d3/math/Ray.ts:10 创建一个 Ray 实例。 Parameters origin: Vector3 射线的起点 direction: Vector3 射线的方向 Returns Ray Properties direction direction: Vector3 ...

来源: Laya3.0_api 发布时间: 20231115

113. laya.d3.terrain.TerrainChunk [ 84%]

...ing, detailUrl2:String, detailUrl3:String, detailUrl4:String, ambientColor:Vector3, diffuseColor:Vector3, specularColor:Vector4, sx1:Number = 1, sy1:Number = 1, sx2:Number = 1, sy2:Number = 1, sx3:Number = 1, sy3:Number = 1, sx4:Number = 1, sy4:Number = 1):voidTerrainChunk callLater(method:Function...

来源: Laya2.0_api 发布时间: 20190513

114. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 84%]

...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:89 用于生成粒子初始位置...

来源: Laya3.0_api 发布时间: 20231115

115. laya.d3.math.BoundFrustum_API3.0 [ 84%]

...ns number 包涵:1,相交:2,不相交:0 containsPoint containsPoint(point: Vector3): number Defined in laya/d3/math/BoundFrustum.ts:314 与点的关系。 Parameters point: Vector3 点。 Returns number 包涵:1,相交:2,不相交:0 equalsBoundFrustum equalsBoundFrustum(other: BoundFrustum): boolean...

来源: Laya3.0_api 发布时间: 20231115

116. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 84%]

...式。 startRotationConstantMaxSeparate startRotationConstantMaxSeparate: Vector3 = null Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:282 最大开始三维旋转,1模式。 startRotationConstantMin startRotationConstantMin: number = 0 Defined in laya/d3/core/particleShuriKen...

来源: Laya3.0_api 发布时间: 20231115

117. 求计算三角形夹角的Laya代码 [ 84%]

.../向量BA var CA;//向量CA var cosA;//角A余弦 var jA;//角A A=new Laya.Vector3(a1,a2,a3); B=new Laya.Vector3(b1,b2,b3); C=new Laya.Vector3(c1,c2,c3); BA=new Laya.Vector3(a1-b1,a2-b2,a3-b3); CA=new Laya.Vector3(a1-c1,a2-c2,a3-c3); cosA= ((a1-b1)*(a1-c1)+(a2-b2)*(a2-c2)+(a3-b3)*(a3-c3))/(Math.sqrt...

来源: Laya_社区 发布时间: 20191223

118. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 84%]

...ape.ts:18 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape...

来源: Laya3.0_api 发布时间: 20231115

119. laya.d3.core.scene.BoundsOctree [ 84%]

...MethodDefined By  BoundsOctree(initialWorldSize:Number, initialWorldPos:Vector3, minNodeSize:Number, looseness:Number) 创建一个 BoundsOctree 实例。 BoundsOctree  add(object:IOctreeObject):void 添加物体 BoundsOctree  addMotionObject(object:IOctreeObject):void 添加运动物体。 Bo...

来源: Laya2.0_api 发布时间: 20190513

120. laya.d3.core.render.command.CommandBuffer_API3.0 [ 84%]

...setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDataColor setShaderDataInt setShaderDataMatrix setShaderDataNumber setShaderDataTexture setShaderDataVector setShaderDataVector2 setShaderDataVector3 setShaderDefine Constructors constructor n...

来源: Laya3.0_api 发布时间: 20231115