Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RawAsset Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll

    A raw asset, an asset that is imported as-is.

    System.Object → Asset → AssetWithSource → RawAsset
    Derived from RawAsset:

    [DataContract("RawAsset")]
    [AssetDescription(".sdraw")]
    [Display(1050, "Raw Asset", null)]
    public sealed class RawAsset : AssetWithSource, IAssetWithSource
    Name Description
    Constructors
    RawAsset()

    Initializes a new instance of the RawAsset class.

    Fields
    FileExtension
    Properties
    Compress

    Gets or sets a value indicating whether this RawAsset will be compressed when compiled.

    | Improve this Doc View Source

    Constructors


    RawAsset()

    Initializes a new instance of the RawAsset class.

    public RawAsset()
    | Improve this Doc View Source

    Fields


    FileExtension

    public const string FileExtension = ".sdraw"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Properties


    Compress

    Gets or sets a value indicating whether this RawAsset will be compressed when compiled.

    public bool Compress { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this asset will be compressed when compiled; otherwise, false.


    Inherited Members

    AssetWithSource.Source
    AssetWithSource.MainSource
    Asset.Id
    Asset.SerializedVersion
    Asset.Tags
    Asset.Archetype
    Asset.CreateDerivedAsset(String)
    Asset.CreateDerivedAsset(String, Dictionary<Guid, Guid>)
    Asset.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation