Creates a new template from the provided scene object.
Scene object to create the template from.
OptionalisInternalConstructor: booleanReturns a reference handle for this resource.
Returns a hash value that can be used for determining if a template changed by comparing it to a previously saved hash.
Determines if the template represents a scene or just a generic group of objects. The only difference between the two is the way root object is handled: scenes are assumed to be saved with the scene root object (which is hidden), while object group root is a normal scene object (not hidden). This is relevant when when templates are loaded, so the systems knows to append the root object to non-scene templates.
Returns the sequential version of the template content.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
Returns a reference to the internal template hierarchy. Returned hierarchy is not instantiated and cannot be interacted with in a manner you would with normal scene objects.
Returns a universally unique identifier of this resource.
Duplicates the resource and creates a unique UUID for the duplicated resource.
The duplicated resource or null, if the duplication failed.
Returns all template hashes for a given cloud sequential version of the template.
Returns the template history size.
Instantiates a template by creating an instance of the template's scene object hierarchy. The returned hierarchy will be parented to world root of the null scene.
OptionalkeepTemplateInternals: boolean
Ensures the instantiated hierarchy keeps the original UUIDs as within the template, and also ensures that any nested template links are directly preserved.
Instantiated clone of the template's scene object hierarchy.
Instantiates a template by creating an instance of the template's scene object hierarchy, and parents it to the provided scene object.
Scene object to parent the instantiated hierarchy to.
OptionalkeepTemplateInternals: boolean
Ensures the instantiated hierarchy keeps the original UUIDs as within the template, and also ensures that any nested template links are directly preserved.
Instantiated clone of the template's scene object hierarchy.
Virtual
Method called by RSX to perform actions required after the creation of the resource.
Forcefully unloads the resource.
Replaces the contents of this template with new contents from the provided object.
Template is a savable hierarchy of scene objects. In general it can serve as any grouping of scene objects (for example a level) or be used as a form of a template instantiated and reused throughout the scene.