大约有 1,036 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya3.0_文档(73) Laya_社区(11) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...需使用getRenderTexture()可开启此属性。 Camera aspectRatio : Number 获取横纵比。 Camera boundFrustum : BoundFrustum[read-only] 获取摄像机视锥。 Camera clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCamera clearFlag : int清楚标记。...
来源: Laya2.0_api 发布时间: 20190513
...gClass() export class UI_RadioGroup extends Laya.Script { private SPACING: number = 150; private X_OFFSET: number = 200; private Y_OFFSET: number = 80; private skins: any[]; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一...
来源: Laya3.0_文档 发布时间: 20251016
...chy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
...": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolea...
来源: laya_api 发布时间: 20170929
...tic sciContainsBox sciContainsBox(box: Bounds, cullInfo: IShadowCullInfo): number Inherited from BVHSpatialBox.sciContainsBox Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:26 包围盒和阴影相机的关系 Parameters box: Bounds cullInfo: IShadowCullInfo Returns number 0: 不相交,1:包...
来源: Laya3.0_api 发布时间: 20231115
...adow : Boolean 获取是否产生阴影。 LightSprite shadowDistance : Number 获取阴影最远范围。 LightSprite shadowPCFType : int 获取阴影PCF类型。 LightSprite shadowPSSMCount : int 获取阴影分段数。 LightSprite shadowResolution : Number 获取阴影贴图尺寸。...
来源: laya_api 发布时间: 20170929
...Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: laya_api 发布时间: 20170929
...{ regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } //如果没有 Setter,则 weight 为只读属性 set weight(value: number) { this._weight = value; } } 2.3 是否序列化保存 seri...
来源: Laya3.0_文档 发布时间: 20251010
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component array : Array 列...
来源: laya_api 发布时间: 20170929
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : N...
来源: Laya2.0_api 发布时间: 20190513