public void ValidityCheck(ModelComponent targetToValidate)
 {
     IsValid = targetToValidate == null ||
               Entity == null ||
               targetToValidate.Entity == null ||
               (targetToValidate.Entity.Id != Entity.Id &&
                RecurseCheckChildren(Entity.Transform.Children, targetToValidate.Entity.Transform) &&
                CheckParent(targetToValidate.Entity.Transform));
 }
Exemple #2
0
 public ModelViewHierarchyTransformOperation(ModelComponent modelComponent)
 {
     ModelComponent = modelComponent;
 }
Exemple #3
0
 public ModelNodeTransformLink(ModelComponent parentModelComponent, string nodeName)
 {
     this.parentModelComponent = parentModelComponent;
     this.nodeName             = nodeName;
 }