C# 클래스 Assimp.ExportDataBlob

Describes a blob of exported scene data. Blobs can be nested - each blob may reference another blob, which in turn can reference another and so on. This is used to allow exporters to write more than one output for a given scene, such as material files. Existence of such files depends on the format.
The stream representation of an ExportDataBlob is as follows: String: Name of the Blob int: Length of Binary Data byte[]: Binary Data bool: If has next data blob String: Name of nested blob int: Length of nested blob binary data byte[]: Nested blob binary data bool: If nested blob has next data blob ....
파일 보기 프로젝트 열기: ubisoft/vrtist 1 사용 예제들

공개 메소드들

메소드 설명
FromStream ( Stream stream ) : ExportDataBlob

Reads a data blob from the specified stream.

ToStream ( Stream stream ) : void

Writes the data blob to the specified stream.

비공개 메소드들

메소드 설명
ExportDataBlob ( AiExportDataBlob &dataBlob ) : System

Creates a new ExportDataBlob.

ExportDataBlob ( String name, Array data ) : System

Creates a new ExportDataBlob.

ReadBlob ( BinaryReader reader ) : ExportDataBlob
WriteBlob ( ExportDataBlob blob, BinaryWriter writer ) : void

메소드 상세

FromStream() 공개 정적인 메소드

Reads a data blob from the specified stream.
public static FromStream ( Stream stream ) : ExportDataBlob
stream Stream Input stream
리턴 ExportDataBlob

ToStream() 공개 메소드

Writes the data blob to the specified stream.
public ToStream ( Stream stream ) : void
stream Stream Output stream
리턴 void