Class: AxNativeFileReader

AxNativeFileReader(context)

new AxNativeFileReader(context)

Creates a axis native scene reader object.
Parameters:
Name Type Description
context Axis Context to use for the reading. All deserialization will be performed using this context
Source:

Methods

GetMappedResourceId(originalId) → {Integer}

Private Gets the ID of a temporary resource reference, which was made while deserializing and reconstructing the scene This is a helper method and is meant to be called only in a specific context
Parameters:
Name Type Description
originalId Integer description
Source:
Returns:
description
Type
Integer

LinkResources()

Private Links temporary resource references made while deserializing and reconstructing the scene This is a helper method and is meant to be called only in a specific context
Source:

Read(source) → {Boolean}

Reads native scene data in Axis' native scene format from a given stream
Parameters:
Name Type Description
source AxStream Source stream to read data from
Source:
Returns:
True if the deserialization was successfull
Type
Boolean

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:27 GMT+0200 (FLE Standard Time)