• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,036 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)

931. laya.d3.core.Camera [ 63%]

...需使用getRenderTexture()可开启此属性。 Camera  aspectRatio : Number 获取横纵比。 Camera  boundFrustum : BoundFrustum[read-only] 获取摄像机视锥。 Camera clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCamera clearFlag : int清楚标记。...

来源: Laya2.0_api 发布时间: 20190513

932. 单选框组容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

...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

933. laya.display.Sprite [ 63%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

来源: Laya2.0_api 发布时间: 20190513

934. laya.ui.TextInput [ 63%]

...": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  asPassword : Boolea...

来源: laya_api 发布时间: 20170929

935. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 63%]

...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

936. laya.d3.core.light.LightSprite [ 63%]

...adow : Boolean 获取是否产生阴影。 LightSprite  shadowDistance : Number 获取阴影最远范围。 LightSprite  shadowPCFType : int 获取阴影PCF类型。 LightSprite  shadowPSSMCount : int 获取阴影分段数。 LightSprite  shadowResolution : Number 获取阴影贴图尺寸。...

来源: laya_api 发布时间: 20170929

937. laya.display.Sprite [ 63%]

...Properties Show Inherited Public Properties PropertyDefined By  alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

来源: laya_api 发布时间: 20170929

938. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

...{ 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

939. laya.ui.List [ 63%]

...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

940. laya.ui.Dialog [ 63%]

...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