ModelInput¶
Namespace Nfty.Model in assembly Nfty.Model.
One picture to rise in a batch.
Constructors¶
ModelInput(string, Image<Rgba32>, DepthMap?, StackFaces?)¶
Parameters
BaseName(string) - The file name without extension;ModelBatch.Build()sanitizes and de-duplicates it itself, so any text is safe here.Art(Image<Rgba32>) - The finished picture. Borrowed: the batch does not dispose it.Depth(DepthMap?) - Its depth map, ornullfor paper.Faces(StackFaces?) - The stack's face owners and wall seams (the atlas halves), ornullfor a single picture. Borrowed.
Properties¶
Art¶
The finished picture. Borrowed: the batch does not dispose it.
BaseName¶
The file name without extension; ModelBatch.Build() sanitizes and de-duplicates it itself, so any text is safe here.
Depth¶
Its depth map, or null for paper.
Faces¶
The stack's face owners and wall seams (the atlas halves), or null for a single picture. Borrowed.