大约有 13,393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0213 秒)
Laya_社区(12267) Laya2.0_文档(489) Laya3.0_api(283) Laya3.0_文档(213) Laya2.0_api(49) laya_api(49) Laya_示例(25) Laya2.0_示例(18)
...一个 Dialog_Instance 类的实例对象 dialog。 dialog.dragArea = "0,0,150,50";//设置 dialog 的拖拽区域。 dialog.show();//显示 dialog。 dialog.closeHandler = new Handler(this, onClose);//设置 dialog 的关闭函数处理器。 } private function onClose(name:String):void { if (name ...
来源: Laya3.0_api 发布时间: 20231115
... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...
来源: Laya2.0_api 发布时间: 20190513
...D Properties _ShadowMapupdateFrequency _ShadowMapupdateFrequency: number = 1 Defined in laya/d3/core/scene/Scene3D.ts:425 lightShadowMap 更新频率 @internal Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false ...
来源: Laya3.0_api 发布时间: 20231115
...运行呢?打开谷歌浏览器,随便打开你一个空白网页,F12,把上面的代码粘贴到控制台,然后回车,就看到上面截图的效果。或者新建个html把代码粘贴进去,用浏览器打开。是不是很简单。然后我们可以任意修改显示的文字。...
来源: Laya2.0_文档 发布时间: 20210715
...ya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX a...
来源: Laya3.0_api 发布时间: 20231102
...Input(): Input Overrides Text.constructor Defined in laya/display/Input.ts:102 创建一个新的 Input 类实例。 Returns Input Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _onPostLayout _onPostLayout: () => void Inherited from Tex...
来源: Laya3.0_api 发布时间: 20231115
...r Overrides UIComponent.constructor Defined in laya/ui/WXOpenDataViewer.ts:12 Returns WXOpenDataViewer Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _ownGraphics _ownGraphics: boolean = false Inherited from AnimationBase._ownGraphics Defi...
来源: Laya3.0_api 发布时间: 20231102
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...
来源: laya_api 发布时间: 20170929
...e] Rigidbody3DPublic Constants ConstantDefined By TYPE_DYNAMIC : int = 1[static] Rigidbody3D TYPE_KINEMATIC : int = 2[static] Rigidbody3D TYPE_STATIC : int = 0[static] Rigidbody3DProperty DetailangularDampingpropertyangularDamping:Number 获取刚体的角阻力。 Implementation p...
来源: Laya2.0_api 发布时间: 20190513
...nherited Public Constants ConstantDefined By TYPE_DIRECTIONLIGHT : int = 1[static] 定义平行光类型的标记。LightSprite TYPE_POINTLIGHT : int = 2[static] 定义点光类型的标记。LightSprite TYPE_SPOTLIGHT : int = 3[static] 定义聚光类型的标记。LightSpriteProperty Detailatt...
来源: laya_api 发布时间: 20170929