大约有 44 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...on[]): void Defined in laya/d3/component/Animator/AnimatorTransition.ts:96 设置condition数组 IDE Returns AnimatorStateCondition[] Defined in laya/d3/component/Animator/AnimatorTransition.ts:100 设置condition数组 IDE Parameters value: AnimatorStateCondition[] Returns void destState get destSt...
来源: Laya3.0_api 发布时间: 20231115
...tion_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation...
来源: Laya3.0_api 发布时间: 20231115
...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPa...
来源: Laya3.0_api 发布时间: 20231115
...3): void Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters value: Vector3 Returns void appliedImpulse get appliedImpulse(): number Defined in laya/d3/physics/constra...
来源: Laya3.0_api 发布时间: 20231115
...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
...t.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Inherited from ConstraintComponent.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters value: Vector3 Returns void appliedImpulse get appliedImpulse():...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 _sundir _sundir: Vector3 = new Vector3() Defined in laya/d3/core/scene/Scene3D.ts:381 interanl Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false I...
来源: Laya3.0_api 发布时间: 20231115
...发布版本需要资源管理。因此没有资源管理文件时,可以设置manifestFile为null或者不存在的路径。 Parameters manifestFile: string 清单(json)文件的路径。 callback: Handler 清单(json)文件加载完成后执行。 Default value type: number = 2 FOLDER_VE...
来源: Laya3.0_api 发布时间: 20231102
...实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115