大约有 431 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya3.0_api(158) Laya2.0_api(86) laya_api(67) Laya_社区(45) Laya2.0_文档(41) Laya3.0_文档(19) Laya_示例(15)
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite ambientColor : Vector3 获取环境光颜色。 Scene3D autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
...创建一个 ConeShape 实例。 Returns ConeShape Properties angle angle: number Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:18 发射弧度。 emitType emitType: number Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:24 发射类型,0为Base,1为BaseShell,...
来源: Laya3.0_api 发布时间: 20231115
...要属性与方法 > 属性 `sunDisk:int` 设置太阳状态。 `sunSize:Number` 太阳尺寸,范围是0到1。 `sunSizeConvergence:Number` 太阳尺寸收缩,范围是0到20。 `atmosphereThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面...
来源: Laya2.0_文档 发布时间: 20210715
...树。 Public Methods MethodDefined By BoundsOctree(initialWorldSize:Number, initialWorldPos:Vector3, minNodeSize:Number, looseness:Number) 创建一个 BoundsOctree 实例。 BoundsOctree add(object:IOctreeObject):void 添加物体 BoundsOctree addMotionObject(object:IOctreeObject):void ...
来源: Laya2.0_api 发布时间: 20190513
...YPE_ATTRIBUTE INSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:33...
来源: Laya3.0_api 发布时间: 20231115
...lTransformations Constructors constructor new SphereColliderShape(radius?: number): SphereColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/SphereColliderShape.ts:22 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径...
来源: Laya3.0_api 发布时间: 20231115
...um Returns void containsBoundBox containsBoundBox(box: BoundBox | Bounds): number Defined in laya/d3/math/BoundFrustum.ts:406 与包围盒的位置关系。 Parameters box: BoundBox | Bounds 包围盒。 Returns number 包涵:1,相交:2,不相交:0 containsBoundSphere containsBoundSphere(sphere: Bou...
来源: Laya3.0_api 发布时间: 20231115
...colliderB : PhysicsComponent = null碰撞器B。ContactPoint distance : Number = 0距离。ContactPoint normal : Vector3法线。ContactPoint positionOnA : Vector3碰撞器A的碰撞点。ContactPoint positionOnB : Vector3碰撞器B的碰撞点。ContactPointPublic Methods MethodDefine...
来源: Laya2.0_api 发布时间: 20190513
...n origin: Vector3 Defined in laya/d3/math/Ray.ts:8 原点 Methods at at(t: number, out: Vector3): void Defined in laya/d3/math/Ray.ts:27 射线上的某点 Parameters t: number out: Vector3 Returns void Globals "laya/d3/math/Ray" Ray constructor direction origin at Legend Class Class with type param...
来源: Laya3.0_api 发布时间: 20231115
...Vector3 Defined in laya/d3/core/Vector3Keyframe.ts:17 外权重 time time: number Inherited from Keyframe.time Defined in laya/d3/core/Keyframe.ts:19 时间。 value value: Vector3 = new Vector3() Defined in laya/d3/core/Vector3Keyframe.ts:13 帧数据 weightedMode weightedMode: Vector3 Defined in l...
来源: Laya3.0_api 发布时间: 20231115