Encode

PlyFormat.Encode method (1 of 2)

Encode the entity and save the result into the stream.

public void Encode(Entity entity, Stream stream, PlySaveOptions opt = null)
Parameter Type Description
entity Entity The entity to encode
stream Stream The stream to write to, this method will not close this stream
opt PlySaveOptions Save options

See Also


PlyFormat.Encode method (2 of 2)

Encode the entity and save the result into an external file.

public void Encode(Entity entity, string fileName, PlySaveOptions opt = null)
Parameter Type Description
entity Entity The entity to encode
fileName String The file to write to
opt PlySaveOptions Save options

See Also