大约有 431 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(158) Laya2.0_api(86) laya_api(67) Laya_社区(45) Laya2.0_文档(41) Laya3.0_文档(19) Laya_示例(15)
...示不透明。更改alpha值会影响drawcall。Sprite ambientColor : Vector3 获取环境光颜色。 Scene3D autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘...
来源: Laya2.0_api 发布时间: 20190513
...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
...20。 `atmosphereThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面颜色。 `exposure:Number` 曝光强度,范围是0到8。 #### 创建和使用材质 下面的代码对官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?l...
来源: Laya2.0_文档 发布时间: 20210715
...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
...NSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:33 Returns Materi...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...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
...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
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Vector3Keyframe" Vector3Keyframe Class Vector3Keyframe Vector3Keyframe 类用于创建三维向量关键帧实例。 Hierarchy Keyframe Vector3Keyframe Implements IClone Index Constructors constructor Properties inTangent inW...
来源: Laya3.0_api 发布时间: 20231115