Protected
constructorProtected
resolveProtected
svfProtected
findGets the number of available mesh packs.
Finds URIs of all image assets referenced in the SVF. These can then be retrieved using getAsset.
Image asset URIs.
Reads the entire scene and all its referenced assets into memory. In cases where a more granular control is needed (for example, when trying to control memory consumption), consider parsing the different SVF elements individually, using methods like readFragments, enumerateGeometries, etc.
Optional
options: IReaderOptionsAdditional reading options.
Intermediate, in-memory representation of the loaded scene.
Static
FromInstantiates new reader for an SVF in APS Model Derivative service.
APS model URN.
APS viewable GUID. The viewable(s) can be found in the manifest with type: 'resource', role: 'graphics', and mime: 'application/autodesk-svf'.
Authentication provider for accessing the Model Derivative service.
Optional
region: RegionOptional region to be used by all APS calls.
Reader for the provided SVF.
Static
FromInstantiates new reader for an SVF on local file system.
Path to the *.svf file.
Reader for the provided SVF.
Utility class for parsing & reading SVF content from Model Derivative service or from local file system.
The class can only be instantiated using one of the two async static methods: Reader.FromFileSystem, or Reader.FromDerivativeService. After that, you can parse the entire SVF into memory using parse, or parse individual SVF objects using methods like readFragments or enumerateGeometries.
Example
Example