Table of Contents

Class AvSourceData

Namespace
Uralstech.AvLoader

Wrapper for a raw container of avatar data.

public class AvSourceData
Inheritance
object
AvSourceData

Constructors

AvSourceData(byte[], AvModelFileExtension, string?, AvMetadata, Type, Texture2D?, Texture2D?)

public AvSourceData(byte[] model, AvModelFileExtension modelFormat, string? modelPath, AvMetadata metadata, Type dataLoaderType, Texture2D? fullRender = null, Texture2D? bustRender = null)

Parameters

model byte[]
modelFormat AvModelFileExtension
modelPath string
metadata AvMetadata
dataLoaderType Type
fullRender Texture2D?
bustRender Texture2D?

Fields

BustRender

Optional bust render of the avatar.

public readonly Texture2D? BustRender

Field Value

Texture2D?

DataLoaderType

The type of the data loader which created this.

public readonly Type DataLoaderType

Field Value

Type

FullRender

Optional full render of the avatar.

public readonly Texture2D? FullRender

Field Value

Texture2D?

Metadata

Metadata of the avatar.

public readonly AvMetadata Metadata

Field Value

AvMetadata

Model

The model as a byte[].

public readonly byte[] Model

Field Value

byte[]

ModelFormat

The file format of the model.

public readonly AvModelFileExtension ModelFormat

Field Value

AvModelFileExtension

ModelPath

The path/URI to model.

public readonly string? ModelPath

Field Value

string