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

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

81. laya.d3.graphics.StaticBatchManager_API3.0 [ 78%]

...节点。 Parameters staticBatchRoot: Sprite3D 静态批处理根节点。 Default value renderableSprite3Ds: RenderableSprite3D[] = null 静态批处理子节点队列。 Returns void Globals "laya/d3/graphics/StaticBatchManager" StaticBatchManager constructor combine Legend Object literal Variable...

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

82. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 78%]

...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

83. laya.d3.physics.shape.CapsuleColliderShape_API3.0 [ 78%]

...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

84. 分享:关于自定义场景继承的实现 [ 78%]

...自CustomScene。 MyScene.tsimport { ui } from "../ui/layaMaxUI"; export default class MyScene extends ui.CustomSceneUI{ constructor(){ super(); console.log(this.txt_hello.text); } } 设置CustomScene的runtime为刚刚创建的MyScene类,并创建一个var为txt_hello的文本,用来测试MySce...

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

85. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 78%]

...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

86. laya.d3.math.BoundSphere_API3.0 [ 78%]

...er radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number): BoundSphere Defined in laya/d3/math/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parameters Def...

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

87. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 78%]

...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

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

...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. laya.maths.Quaternion_API3.0 [ 77%]

...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...

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

90. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? [ 77%]

...个时候它并不会被打入bundle.js, 得把这段代码改成export default class asd { }才能在bundle.js里找到它??   有没有什么方法或者构建选项可以不用写那么多export和import吗? 因为现在项目用的1.0版本基本都快完成了,之前都是不写import...

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