大约有 869 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
...aticJoint.ts:22 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/physics/joint/PrismaticJoint.ts:16 [首次设置有效]关节的连接刚体,可不设置,默认为左上角空刚体 owner owner: Node Inherited from Componen...
来源: Laya3.0_api 发布时间: 20231115
...number): AnimatorState Defined in laya/d3/component/Animator.ts:1080 获取默认动画状态。 Parameters Default value layerIndex: number = 0 层索引。 Returns AnimatorState 默认动画状态。 hasHideFlag hasHideFlag(flag: number): boolean Inherited from Component.hasHideFlag Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: Laya2.0_api 发布时间: 20190513
...forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false */ public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不行的话...
来源: Laya_社区 发布时间: 20180424
...e); //是否显示帧率 //设置手机横竖屏显示 0=竖屏 1=横屏,默认横屏 IFlash.setOrientationEx(0); //是否自动旋转 true 旋转 false 不旋转 IFlash.setAutoOrients(true); startGame(); } private function startGame():void { trace("Hellow Laya World!"); } } } LayaFlash编译...
来源: Laya_社区 发布时间: 20151218
...rom BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean dimension get dimension(): TextureDimension Inh...
来源: Laya3.0_api 发布时间: 20231115
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: laya_api 发布时间: 20170929
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite ambientColor : Vector3 获取环境光颜色。 Scene3D autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 S...
来源: Laya2.0_api 发布时间: 20190513
...lleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.ts:20 [首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移 otherBody otherBody: RigidBody D...
来源: Laya3.0_api 发布时间: 20231115
...在场景中是否激活。 Node alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐...
来源: Laya2.0_api 发布时间: 20190513