Astra Unity 2.6.6
Astra Unity Plugin
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Astra.Core.UnityWrapper.ResourceEntry Struct Reference

ResourceEntries are used in the MR file format as records to be inserted, they are convenience wrappers that separate into a header (PrimitiveBase) and a body (PrimitiveXYZ) You only need to use these if you create your own MR files on the fly, but asset creation is typically handled by the AstraTool and not in this library. More...

Public Member Functions

byte[] SerializeSubHeader ()
 
McsSdk20.Primitives.PrimitiveBase DeserializeSubHeader (IntPtr sub_header_ptr, UInt32 sub_header_len)
 
void MarkForDeletion ()
 

Public Attributes

McsSdk20.Primitives.PrimitiveBase sub_header
 
byte[] body
 

Detailed Description

ResourceEntries are used in the MR file format as records to be inserted, they are convenience wrappers that separate into a header (PrimitiveBase) and a body (PrimitiveXYZ) You only need to use these if you create your own MR files on the fly, but asset creation is typically handled by the AstraTool and not in this library.


The documentation for this struct was generated from the following file: