public void SetSceneElement(SceneElement sceneElement) { if (sceneElement is Sphere) { SetSphere((Sphere)sceneElement); } }
public void SetSceneElement(SceneElement sceneElement) { if (sceneElement is PerspectiveCamera) { SetCamera((PerspectiveCamera)sceneElement); } }
public void SetSceneElement(SceneElement sceneElement) { if (sceneElement is OrthographicCamera) { SetCamera((OrthographicCamera)sceneElement); } }
public SceneElementNode(SceneElement sceneElement) : base(sceneElement.Name) { this.sceneElement = sceneElement; }
private void OnNameUpdated(SceneElement sceneElement) { NotifySceneElementNameUpdated(sceneElement); }
private void NotifySceneElementNameUpdated(SceneElement sceneElement) { if (sceneElementNameUpdated != null) { sceneElementNameUpdated.Invoke(this, sceneElement); } }
public void SetSceneElement(SceneElement sceneElement) { if (sceneElement is Cylinder) { SetCylinder((Cylinder)sceneElement); } }