public LabelPrimitive(Label3DMaterial material, Color color, Color outline, float offsetY) { Material = material; Viewer = material.Viewer; Color = color; Outline = outline; OffsetY = offsetY; }
public LabelPrimitive(Label3DMaterial material, Color color, Color outline, float offsetY, IWorldPosition positionSource, string text) { this.material = material; this.color = color; this.outline = outline; this.offsetY = offsetY; this.positionSource = positionSource; this.text = text; }
public void Mark() { WindowManagerMaterial.Mark(); PopupWindowMaterial.Mark(); Label3DMaterial.Mark(); foreach (var window in Windows) { window.Mark(); } }
public void Initialize() { // This is needed here (rather that in constructor) because it needs the WindowManager and WindowTextManager up and running first. Sigh. Label3DMaterial = (Label3DMaterial)Viewer.MaterialManager.Load("Label3D"); ScreenChanged(); UpdateTopMost(); foreach (var window in Windows) { window.Initialize(); window.Layout(); } }