大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/RaycastVehicle" btVehicleTuning Class btVehicleTuning Hierarchy btVehicleTuning Index Properties frictionSlip maxSuspensionForce maxSuspensionTravelCm suspensionCompression suspensionDam...
来源: Laya3.0_api 发布时间: 20231115
...import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用代码将Dialog与所需...
来源: Laya3.0_文档 发布时间: 20251024
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/RotateCmd" RotateCmd Class RotateCmd 旋转命令 Hierarchy RotateCmd Index Properties angle pivotX pivotY ID Methods recover Properties angle angle: number Defined in laya/display/cmd/...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawTexturesCmd" DrawTexturesCmd Class DrawTexturesCmd 根据坐标集合绘制多个贴图 Hierarchy DrawTexturesCmd Index Properties colors pos texture ID Methods recover Properties c...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsSettings" CannonPhysicsSettings Class CannonPhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy CannonPhysicsSettings Index Properties conta...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Animation2DCondition" Animation2DCondition Class Animation2DCondition 2D动画类型 Hierarchy Animation2DCondition Index Properties checkValue id type Properties checkValue checkValue: ...
来源: Laya3.0_api 发布时间: 20231115
...ass(),示例代码如下所示: const { regClass } = Laya; @regClass() export class Script extends Laya.Script { } 1.2 IDE中如何找到被识别的组件脚本 只有使用了@regClass()装饰器标识,才会被LayaAir3-IDE识别为自定义组件脚本,可以被节点(实体)所添加...
来源: Laya3.0_文档 发布时间: 20251010
... Sprite = Laya.Sprite; import Stage = Laya.Stage; export class Sprite_DrawShapes { private sp: Sprite; constructor() { //初始化舞台 Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
... } new SmartScale_Align_Contral();module laya { import Stage = Laya.Stage; export class SmartScale_Align_Contral { constructor() { Laya.init(100, 100); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.bgColor = "#2...
来源: Laya2.0_示例 发布时间: 20260818
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/staticmesh/StaticBatchSubMesh" StaticBatchSubInfo Class StaticBatchSubInfo Hierarchy StaticBatchSubInfo Index Constructors constructor Properties indexCount indexStart meshBounds needR...
来源: Laya3.0_api 发布时间: 20231115