class ResourceCompileContext

in global :: Sandbox . Resources

😔 No documentation found.


public string AbsolutePath { get; }

The absolute path to the resource on disk

public string RelativePath { get; }

The path relative to the assets folder

public int ResourceVersion { get; set; }

The resource version can be important

public void AddRuntimeReference( string path )

Add a reference. This means that the resource we're compiling depends on this resource.

public void AddCompileReference( string path )

Add a reference that is needed to compile this resource, but isn't actually needed once compiled.

public ResourceCompileContext.DataStream StreamingData { get; }

Get the streaming data to write to

public ResourceCompileContext.DataStream Data { get; }

Get the data to write to

public ResourceCompileContext.Child CreateChild( string absolutePath )

Create a child resource

public string ScanJson( string json )

Load the json and scan it for paths or any embedded resources

public byte[] ReadSource( )

😔 No documentation found.

public string ReadSourceAsString( )

😔 No documentation found.

public JsonObject ReadSourceAsJson( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.