public override void Save(ISceneDataNode sceneDataNode) { base.Save(sceneDataNode); sceneDataNode.WriteParameter("x", Direction.X.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("y", Direction.Y.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("z", Direction.Z.ToString(CultureInfo.InvariantCulture)); }
public override void Save(ISceneDataNode sceneDataNode) { base.Save(sceneDataNode); sceneDataNode.WriteParameter("width", _width.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("height", _height.ToString(CultureInfo.InvariantCulture)); }
public override void Save(ISceneDataNode sceneDataNode) { sceneDataNode.WriteParameter("nearClip", _nearClip.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("farClip", _farClip.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("order", _order.ToString(CultureInfo.InvariantCulture)); }
public override void Save(ISceneDataNode sceneDataNode) { sceneDataNode.WriteParameter("r", Color.R.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("g", Color.G.ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("b", Color.B.ToString(CultureInfo.InvariantCulture)); }
public override void Save(ISceneDataNode sceneDataNode) { base.Save(sceneDataNode); sceneDataNode.WriteParameter("fieldOfView", _fieldOfView.ToDegrees().ToString(CultureInfo.InvariantCulture)); sceneDataNode.WriteParameter("aspectRatio", _aspectRatio.ToString(CultureInfo.InvariantCulture)); }