diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-09-12 17:21:51 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-10-29 08:49:41 -0500 |
commit | dab8f4a97fe8c122d24281ea7c62ccb3c7bba621 (patch) | |
tree | fec6a477145188b9dda3713c8ff8992a2f60b030 /support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp | |
parent | e580250d5d99060b0ee8d88e3ff66b6d9ec24050 (diff) | |
download | servo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.tar.gz servo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.zip |
Support building for Magic Leap.
Diffstat (limited to 'support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp')
-rw-r--r-- | support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp b/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp new file mode 100644 index 00000000000..08bb47d61ac --- /dev/null +++ b/support/magicleap/Servo2D/code/src.gen/SceneDescriptor.cpp @@ -0,0 +1,54 @@ +// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- +// +// THE CONTENTS OF THIS FILE IS GENERATED BY CODE AND +// ANY MODIFICATIONS WILL BE OVERWRITTEN +// +// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- + +// %BANNER_BEGIN% +// --------------------------------------------------------------------- +// %COPYRIGHT_BEGIN% +// +// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved. +// Use of this file is governed by the Creator Agreement, located +// here: https://id.magicleap.com/creator-terms +// +// %COPYRIGHT_END% +// --------------------------------------------------------------------- +// %BANNER_END% + +#include <SceneDescriptor.h> + +SceneDescriptor::SceneDescriptor(const char * exportedName, const char * id, const char * sceneGraphPath, const char * resourceModelPath, const ExportedNodeReferences& exportedNodeReferences, bool initiallyInstanced) +: + exportedName_(exportedName), + id_(id), + sceneGraphPath_(sceneGraphPath), + resourceModelPath_(resourceModelPath), + exportedNodeReferences_(exportedNodeReferences), + initiallyInstanced_(initiallyInstanced) { +} + +const std::string & SceneDescriptor::getExportedName() const { + return exportedName_; +} + +const std::string & SceneDescriptor::getId() const { + return id_; +} + +const std::string & SceneDescriptor::getSceneGraphPath() const { + return sceneGraphPath_; +} + +const std::string & SceneDescriptor::getResourceModelPath() const { + return resourceModelPath_; +} + +const SceneDescriptor::ExportedNodeReferences & SceneDescriptor::getExportedNodeReferences() const { + return exportedNodeReferences_; +} + +bool SceneDescriptor::getInitiallyInstanced() const { + return initiallyInstanced_; +} |