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 |
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 |
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
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 |
Returns:
True if the deserialization was successfull
- Type
- Boolean