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

大约有 54 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0118 秒)

1. laya.d3.core.Gradient_API3.0 [ 100%]

...。 Returns number 梯度模式。 Defined in laya/d3/core/Gradient.ts:44 设置梯度模式。 Parameters value: number 梯度模式。 Returns void 梯度模式。 Methods addColorAlpha addColorAlpha(key: number, value: number): void Defined in laya/d3/core/Gradient.ts:115 增加颜色Alpha。 ...

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

2. laya.d3.physics.PhysicsSimulation_API3.0 [ 98%]

...g(flag?: number): void Defined in laya/d3/physics/PhysicsSimulation.ts:677 设置射线检测回调 Parameters Default value flag: number = 1 Returns void shapeCast shapeCast(shape: ColliderShape, fromPosition: Vector3, toPosition: Vector3, out?: HitResult, fromRotation?: Quaternion, toRotation?: Qu...

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

3. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 91%]

...Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:101 设置环境漫反射的强度 Returns number Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:105 设置环境漫反射的强度 Parameters value: number Returns void ambientMode get ambientMode(): Ambi...

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

4. laya.ani.AnimationPlayer_API3.0 [ 90%]

...turns number value 默认率 Defined in laya/ani/AnimationPlayer.ts:195 设置默认率,每秒60,注意:修改此值会有计算开销。* Parameters value: number Returns void value 缓存率 cacheFrameRateInterval get cacheFrameRateInterval(): number Defined in laya/ani/AnimationPlay...

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

5. laya.utils.Stat_API3.0 [ 86%]

...r 提交次数,值越小越好; Canvas:由三个数值组成,只有设置 CacheAs 后才会有值,默认为0/0/0。从左到右数值的意义分别为:每重绘的画布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Hierarchy S...

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

6. laya.physics.joint.PulleyJoint_API3.0 [ 82%]

...ed: boolean = false Defined in laya/physics/joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.ts:20 [首次设置有效]链接刚体链接点,是相对于otherBody的...

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

7. laya.physics.joint.GearJoint_API3.0 [ 78%]

...cted: boolean = false Defined in laya/physics/joint/GearJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false joint1 joint1: any Defined in laya/physics/joint/GearJoint.ts:12 [首次设置有效]要绑定的第1个关节,类型可以是RevoluteJoint或者PrismaticJo...

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

8. laya.physics.joint.WeldJoint_API3.0 [ 78%]

...nchor: any[] = [0, 0] Defined in laya/physics/joint/WeldJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/WeldJoint.ts:20 [首次设置有效]两个刚体是否可以...

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

9. laya.ani.bone.Templet_API3.0 [ 77%]

...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...

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

10. laya.physics.joint.DistanceJoint_API3.0 [ 77%]

...: boolean = false Defined in laya/physics/joint/DistanceJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/DistanceJoint.ts:18 [首次设置有效]链接刚体链接点,是相对于otherBody的...

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