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

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

81. laya.ani.GraphicsAni_API3.0 [ 71%]

...ar Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回...

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

82. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 71%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/ConeShape" ConeShape constructor angle emitType enable length radius randomDirecti...

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

83. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 71%]

...rShape.ts:57 创建一个新的 CylinderColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Default value height: number = 1 高。 Default value orientation: number = ColliderShape.SHAPEORIENTATION_UPY Returns CylinderColliderShape Properties needsCustomCollisionCallback...

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

84. laya.components.AnimatorStateCondition_API3.0 [ 71%]

...a/components/AnimatorStateCondition.ts:52 状态机过渡条件 Parameters Default value name: string = null Returns AnimatorStateCondition Accessors id get id(): number Defined in laya/components/AnimatorStateCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): v...

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

85. laya.d3.physics.shape.CapsuleColliderShape_API3.0 [ 71%]

...erShape.ts:60 创建一个新的 CapsuleColliderShape 实例。 Parameters Default value radius: number = 0.5 Default value length: number = 2 Default value orientation: number = ColliderShape.SHAPEORIENTATION_UPY 胶囊体方向。 Returns CapsuleColliderShape Properties needsCustomCollisionCallbac...

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

86. laya.d3.core.render.command.CommandBuffer_API3.0 [ 71%]

...ommand/CommandBuffer.ts:43 创建一个 CommandBuffer 实例。 Parameters Default value name: string = null Default value shadowCaster: boolean = false Returns CommandBuffer Accessors casterShadow get casterShadow(): boolean Defined in laya/d3/core/render/command/CommandBuffer.ts:58 Returns boolean...

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

87. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 71%]

...liderShape.ts:47 创建一个新的 ConeColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Default value height: number = 1 高。 Default value orientation: number = ColliderShape.SHAPEORIENTATION_UPY Returns ConeColliderShape Properties needsCustomCollisionCallback nee...

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

88. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 71%]

...lliderShape.ts:66 创建一个新的 BoxColliderShape 实例。 Parameters Default value sizeX: number = 1 盒子X轴尺寸。 Default value sizeY: number = 1 盒子Y轴尺寸。 Default value sizeZ: number = 1 盒子Z轴尺寸。 Returns BoxColliderShape Properties needsCustomCollisionCallback need...

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

89. drawToCanvas转出图片与游戏内显示颜色差距过大 [ 70%]

...Canvas转出图片与游戏内显示颜色差距过大 测试代码 export default class TestView {     constructor() {         this.init();     }     init() {         Laya.stage.bgColor='#ffffff';         Laya.stage.addChild(new Laya.Image('comp/img/img1.png'));         Laya.t...

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

90. laya.d3.core.scene.bvhscenerendermanager.BVHRenderSpatial_API3.0 [ 70%]

...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpat...

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