大约有 158 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHe...
来源: Laya3.0_api 发布时间: 20231115
... = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label...
来源: Laya3.0_api 发布时间: 20231115
...tra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable ...
来源: Laya3.0_api 发布时间: 20231115
...ue,否则值为false; 可控制切片动画的播放、停止。 Clip autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: Laya2.0_api 发布时间: 20190513
... Boolean 获取是否正交投影矩阵。 BaseCamera orthographicVerticalSize : Number 获取正交投影垂直矩阵尺寸。 BaseCamera parent : Node父节点。Node position : Vector3[read-only] 获取位置。BaseCamera renderingOrder : intBaseCamera renderTarget : RenderTexture 获取渲...
来源: laya_api 发布时间: 20170929
...个像素占用1bit以下,并且ASTC格式支持RGBA。以ASTC 4x4 Block Size为例,可以看到每个像素占用8bits即1个字节。因此一张1024x1024的RGBA图片按照该格式压缩后占用的内存大小为1MB。如果你的纹理是选择了生成mipmap的话,那么最终的资源...
来源: Laya3.0_文档 发布时间: 20251010
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEna...
来源: Laya3.0_api 发布时间: 20231115
...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...
来源: Laya3.0_api 发布时间: 20231115
... _reflectionsSource _scene _sceneUniformData _skinBaseUrl _sundir _url autoSize currentCreationLayer enableLight hitTestPrior mouseThrough name tag REFLECTIONMODE_CUSTOM REFLECTIONMODE_SKYBOX SCENERENDERFLAG_RENDERQPAQUE SCENERENDERFLAG_RENDERTRANSPARENT SCENERENDERFLAG_SKYBOX SceneUBOData drawtocan...
来源: Laya3.0_api 发布时间: 20231115
...tra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable ...
来源: Laya3.0_api 发布时间: 20231115