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

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

101. laya.maths.Matrix4x4_API3.0 [ 74%]

...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity ...

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

102. 角色控制器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...方便识别,引擎API的组其实是2的N次幂值。 例如图2-1中的Default是2的0次幂,也就是1,而自己添加的npc组是2的2次幂,实际值是4,以此类推,分组ID为3的碰撞组实际值为8。 所以,如果我们不通过IDE来设置碰撞分组的话,引擎API的...

来源: Laya3.0_文档 发布时间: 20251010

103. laya.map.TiledMap_API3.0 [ 74%]

...视口 Parameters width: number 新视口宽 height: number 新视口高 Default value rect: Rectangle = null 返回的结果 Returns Rectangle createMap createMap(mapName: string, viewRect: Rectangle, completeHandler: Handler, viewRectPadding?: Rectangle, gridSize?: Point, enableLinear?: boolean, l...

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

104. laya.d3.math.Matrix4x4_API3.0 [ 74%]

...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isI...

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

105. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 73%]

...derShape.ts:22 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns SphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback ...

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

106. laya.net.Socket_API3.0 [ 73%]

...尝试连接到指定的主机和端口。 see laya.utils.Byte Parameters Default value host: string | null = null 服务器地址。 Default value port: number = 0 服务器端口。 Default value byteClass: {} = null 用于接收和发送数据的 Byte 类。如果为 null ,则使用 Byte 类,...

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

107. laya.ui.AutoBitmap_API3.0 [ 73%]

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

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

108. Config_API3.0 [ 73%]

...擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fixedFrames isAlpha isAntialias isDepth isStencil isfailIfMajorPerformanceCaveat powerPreference premultipliedAlpha preserveDrawingBuffer printWebglOrder useRetina...

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

109. laya.d3.component.animator.Animator_API3.0 [ 73%]

...dState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState getParamsvalue hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart play removeState setParamsBool setParamsNumber setParamsTrigger Constructors construct...

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

110. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 73%]

...derShape.ts:16 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns CannonSphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallb...

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