Ejemplo n.º 1
0
            public FbxConnection(FbxObject Object1, FbxObject Object2, FbxRelationType Relation, string PropertyName = null)
            {
                this.Object1 = Object1;

                this.Object2 = Object2;

                this.Relation = Relation;

                if (Relation == FbxRelationType.OP)
                {
                    if (string.IsNullOrEmpty(PropertyName))
                    {
                        throw new System.Exception("Connection object to property, missing property name");
                    }
                }
                this.PropertyName = PropertyName;
            }
Ejemplo n.º 2
0
 public FbxConnection(string type1, string name1, FbxObject Object1, string type2, string name2, FbxObject Object2, FbxRelationType Relation, string PropertyName = null)
     : this(Object1, Object2, Relation, PropertyName)
 {
 }