/// <summary> /// The expand. /// </summary> protected virtual void OnExpansionChanged() { if (!this.ExpandOrigin.HasValue) { if (this.Content != null) { this.actualExpandOrigin = this.Content.Bounds.Location; } } else { this.actualExpandOrigin = this.ExpandOrigin.Value; } Visual3DHelper.TraverseModel <GeometryModel3D>(this.Content, this.Expand); }
/// <summary> /// Exports the specified model. /// </summary> /// <param name="model"> /// The model. /// </param> public void Export(Model3D model) { this.ExportHeader(); Visual3DHelper.TraverseModel <GeometryModel3D>(model, this.ExportModel); }