Class TinyTextureSettings
Export settings for a texture asset.
Inherited Members
Namespace: Unity.Tiny
Syntax
public sealed class TinyTextureSettings : TinyAssetExportSettings, ICopyable<TinyTextureSettings>
Properties
FormatType
Export format of this texture.
Declaration
public TextureFormatType FormatType { get; set; }
Property Value
Type | Description |
---|---|
TextureFormatType |
FormatTypeProperty
FormatType property.
Declaration
public static ValueClassProperty<TinyTextureSettings, TextureFormatType> FormatTypeProperty { get; }
Property Value
Type | Description |
---|---|
ValueClassProperty<TinyTextureSettings, TextureFormatType> |
JpgCompressionQuality
JPEG compression quality, from 0 to 100.
Declaration
public int JpgCompressionQuality { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
JpgCompressionQualityProperty
JpgCompressionQuality property.
Declaration
public static ValueClassProperty<TinyTextureSettings, int> JpgCompressionQualityProperty { get; }
Property Value
Type | Description |
---|---|
ValueClassProperty<TinyTextureSettings, System.Int32> |
PropertyBag
Declaration
public override IPropertyBag PropertyBag { get; }
Property Value
Type | Description |
---|---|
IPropertyBag |
Overrides
WebPCompressionQuality
WebP compression quality, from 0 to 100.
Declaration
public int WebPCompressionQuality { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WebPCompressionQualityProperty
WebPCompressionQuality property.
Declaration
public static ValueClassProperty<TinyTextureSettings, int> WebPCompressionQualityProperty { get; }
Property Value
Type | Description |
---|---|
ValueClassProperty<TinyTextureSettings, System.Int32> |
Methods
CopyFrom(TinyTextureSettings)
Copies the properties from the given TinyTextureSettings object.
Declaration
public void CopyFrom(TinyTextureSettings other)
Parameters
Type | Name | Description |
---|---|---|
TinyTextureSettings | other | TinyTextureSettings object to copy onto this instance. |