AdaptySDK 4.1.2
Loading...
Searching...
No Matches
AdaptySDK.AdaptyCustomAssetLinearGradient Class Referencesealed

Custom asset representing a linear gradient. More...

Inheritance diagram for AdaptySDK.AdaptyCustomAssetLinearGradient:
AdaptySDK.AdaptyCustomAsset

Properties

Gradient Gradient [get]
 The Unity Gradient.

Additional Inherited Members

Static Public Member Functions inherited from AdaptySDK.AdaptyCustomAsset
static AdaptyCustomAsset LocalImageData (byte[] data)
 Creates a custom asset from local image data.
static AdaptyCustomAsset LocalImageAsset (string assetId)
 Creates a custom asset from a local image asset ID.
static AdaptyCustomAsset LocalImageFile (string path)
 Creates a custom asset from a local image file path.
static AdaptyCustomAsset LocalVideoAsset (string assetId)
 Creates a custom asset from a local video asset ID.
static AdaptyCustomAsset LocalVideoFile (string path)
 Creates a custom asset from a local video file path.
static AdaptyCustomAsset Color (Color color)
 Creates a custom asset from a Unity Color.
static AdaptyCustomAsset LinearGradient (Gradient gradient)
 Creates a custom asset from a Unity Gradient.

Detailed Description

Custom asset representing a linear gradient.

Property Documentation

◆ Gradient

Gradient AdaptySDK.AdaptyCustomAssetLinearGradient.Gradient
get

The Unity Gradient.

The request was read off it when the asset was built, so a gradient the caller keeps writing into - this one included - no longer changes what goes out.


The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyCustomAsset.cs