Class RawDataAsset
Raw bytes container asset.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class RawDataAsset : BinaryAsset
Constructors
RawDataAsset()
Properties
Data
The bytes array stored in the asset.
Declaration
[Unmanaged]
public byte[] Data { get; set; }
Property Value
System.Byte[]
|
Methods
Save(String)
Saves this asset to the file. Supported only in Editor.
Declaration
[Unmanaged]
public bool Save(string path = null)
Parameters
System.String
path
The custom asset path to use for the saving. Use empty value to save this asset to its own storage location. Can be used to duplicate asset. Must be specified when saving virtual asset. |
Returns
System.Boolean
True if failed, otherwise false. |