/// <summary> /// Checks whether the given original is also exported by this container. /// Original objects are hold to be able to check whether parents are also exported. /// </summary> /// <param name="sceneObject">The scene object.</param> public bool ContainsOrignalObject(SceneObject sceneObject) { sceneObject.EnsureNotNull(nameof(sceneObject)); return(m_dicOriginalObjects.ContainsKey(sceneObject)); }
/// <summary> /// Registers the given original object. /// Original objects are hold to be able to check whether parents are also exported. /// </summary> /// <param name="sceneObject">The scene object.</param> internal void RegisterOriginalObject(SceneObject sceneObject) { sceneObject.EnsureNotNull(nameof(sceneObject)); m_dicOriginalObjects[sceneObject] = null; }