internal PassGroup ConvertToPSD() { PassGroup resGroup = new PassGroup(); FillGroupInfo(resGroup); resGroup.PassGroups = GetSubgroups(); resGroup.Passwords = GetPasses(); return resGroup; }
internal PassGroup ConvertToPSD() { PassGroup resGroup = new PassGroup(); FillGroupInfo(resGroup); resGroup.PassGroups = GetSubgroups(); resGroup.Passwords = GetPasses(); return(resGroup); }
/// <summary> /// Initializes a new instance of the <see cref="DrawingContext"/> class. /// </summary> public DrawingContext(GraphicsDevice graphics, ISpatialQuery spatialQuery) { if (graphics == null) { throw new ArgumentNullException("graphics"); } if (spatialQuery == null) { throw new ArgumentNullException("spatialQuery"); } this.graphics = graphics; this.spatialQuery = spatialQuery; this.BackgroundColor = new Color(95, 120, 157); this.drawables = spatialQuery.CreateSpatialQuery <IDrawableObject>(drawable => drawable.OnAddedToView(this)); this.matrices = new MatrixCollection(); this.textures = new TextureCollection(); this.rootPass = new PassGroup(); this.rootPass.Passes.Add(new SpritePass()); }
public Base() { PassGroup = new PassGroup(); }
private void FillGroupInfo(PassGroup group) { group.Name = _kpGroup.Name; group.Notes = _kpGroup.Notes; group.UUID = _kpGroup.Uuid.ToHexString(); }