大约有 245 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(...
来源: Laya3.0_api 发布时间: 20231115
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):Sprite3D[static] 加...
来源: laya_api 发布时间: 20170929
... fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors ...
来源: Laya3.0_api 发布时间: 20231115
...,对它设置任何改变外观的属性都将导致图形重绘: var rotation=0, scale=1, position=0; private function setRotation(value):void { this.rotation=value; update(); } private function setScale(value):void { this.scale = value; update(); } private function setPosition(value):void { th...
来源: Laya3.0_文档 发布时间: 20251010
... fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns AutoBitmap Properties _color _...
来源: Laya3.0_api 发布时间: 20231115
... //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: this._position.z }, 40); this.moveSprite3D.transform.position = this._finalPosition; } } 到...
来源: Laya3.0_文档 发布时间: 20230303
... EXPOSURE RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT ROTATION SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURECUBE TINTCOLOR defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlp...
来源: Laya3.0_api 发布时间: 20231115
... EXPOSURE RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT ROTATION SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURE TEXTURE_HDR_PARAMS TINTCOLOR Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlph...
来源: Laya3.0_api 发布时间: 20231115
...1=屏幕边缘) 0.0 angularOffset number 角度偏移(0-360度) 0.0 rotation number 旋转角度 0.0 autoRotate boolean 是否自动旋转 false scale Vector2 缩放(x, y) Vector2(1, 1) positionOffset Vector2 位置偏移(屏幕空间,x, y) Vector2(0, 0) 图3-1-4 我们将贴图拖...
来源: Laya3.0_文档 发布时间: 20260105
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void...
来源: Laya2.0_api 发布时间: 20190513