/[Sims3RigEditor]/trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs
ViewVC logotype

Diff of /trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by william, Thu Jul 29 17:25:37 2010 UTC revision 6 by william, Fri Jul 30 00:28:19 2010 UTC
# Line 11  namespace gr2lib.core.coretypes.implemen Line 11  namespace gr2lib.core.coretypes.implemen
11      /// <summary>      /// <summary>
12      /// ArtToolInfoVersion class      /// ArtToolInfoVersion class
13      /// </summary>      /// </summary>
14        [Browsable(true)]
15        [TypeConverter(typeof(ExpandableObjectConverter))]
16      public class ArtToolInfoVersion : IArtToolInfoVersion      public class ArtToolInfoVersion : IArtToolInfoVersion
17      {      {
18          /// <summary>          /// <summary>
# Line 35  namespace gr2lib.core.coretypes.implemen Line 37  namespace gr2lib.core.coretypes.implemen
37          /// Get/set the major          /// Get/set the major
38          /// </summary>          /// </summary>
39          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
40            [Browsable(true)]
41          public int Major          public int Major
42          {          {
43              get { return _Major; }              get { return _Major; }
# Line 45  namespace gr2lib.core.coretypes.implemen Line 48  namespace gr2lib.core.coretypes.implemen
48          /// Get/set the minor          /// Get/set the minor
49          /// </summary>          /// </summary>
50          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
51            [Browsable(true)]
52          public int Minor          public int Minor
53          {          {
54              get { return _Minor; }              get { return _Minor; }
# Line 65  namespace gr2lib.core.coretypes.implemen Line 69  namespace gr2lib.core.coretypes.implemen
69      /// <summary>      /// <summary>
70      /// ArtToolInfoVector class      /// ArtToolInfoVector class
71      /// </summary>      /// </summary>
72        [Browsable(true)]
73        [TypeConverter(typeof(ExpandableObjectConverter))]
74      public class ArtToolInfoVector : IArtToolInfoVector      public class ArtToolInfoVector : IArtToolInfoVector
75      {      {
76          private Vector3 _Origin;          private Vector3 _Origin;
# Line 95  namespace gr2lib.core.coretypes.implemen Line 101  namespace gr2lib.core.coretypes.implemen
101          /// <summary>          /// <summary>
102          /// Get/set the Origin          /// Get/set the Origin
103          /// </summary>          /// </summary>
104          [RefreshPropertiesAttribute(RefreshProperties.All)]                  [RefreshPropertiesAttribute(RefreshProperties.All)]    
105          public Vector3 Origin { get { return _Origin; } set { _Origin = value; } }          public Vector3 Origin { get { return _Origin; } set { _Origin = value; } }
106          /// <summary>          /// <summary>
107          /// Get/set the Right          /// Get/set the Right
# Line 137  namespace gr2lib.core.coretypes.implemen Line 143  namespace gr2lib.core.coretypes.implemen
143      /// <summary>      /// <summary>
144      /// ArtToolInfo class      /// ArtToolInfo class
145      /// </summary>      /// </summary>
146        //[Category("Art Tool Info")]
147      public class ArtToolInfo : IArtToolInfo      public class ArtToolInfo : IArtToolInfo
148      {      {
149            //private string _ParentResourceName;            //private string _ParentResourceName;
# Line 166  namespace gr2lib.core.coretypes.implemen Line 173  namespace gr2lib.core.coretypes.implemen
173              this.FromArtToolName = "";              this.FromArtToolName = "";
174              this.ToolVersion = new ArtToolInfoVersion();              this.ToolVersion = new ArtToolInfoVersion();
175    
176              this.ArtToolMajorRevision = 0;              //this.ArtToolMajorRevision = 0;
177              this.ArtToolMinorRevision = 0;              //this.ArtToolMinorRevision = 0;
178              this.UnitsPerMeter = 1;              this.UnitsPerMeter = 1;
179              //this.ExtendedData = IntPtr.Zero;              //this.ExtendedData = IntPtr.Zero;
180              //this.NativePointer = IntPtr.Zero;              //this.NativePointer = IntPtr.Zero;
# Line 188  namespace gr2lib.core.coretypes.implemen Line 195  namespace gr2lib.core.coretypes.implemen
195          /// Get/set ArtTool Name          /// Get/set ArtTool Name
196          /// </summary>          /// </summary>
197          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
198            [CategoryAttribute("Art Tool Info")]
199          public string FromArtToolName { get { return _fromArtToolName; } set { _fromArtToolName = value; } }          public string FromArtToolName { get { return _fromArtToolName; } set { _fromArtToolName = value; } }
200          /// <summary>          ///// <summary>
201          /// Get/set ArtTool Major          ///// Get/set ArtTool Major
202          /// </summary>          ///// </summary>
203          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
204          public int ArtToolMajorRevision { get { return _ToolVersion.Major; } set { _ToolVersion.Major = value; } }          //internal int ArtToolMajorRevision { get { return _ToolVersion.Major; } set { _ToolVersion.Major = value; } }
205          /// <summary>          ///// <summary>
206          /// Get/set ArtTool Minor          ///// Get/set ArtTool Minor
207          /// </summary>          ///// </summary>
208          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
209          public int ArtToolMinorRevision { get { return _ToolVersion.Minor; } set { _ToolVersion.Minor = value; } }          //internal int ArtToolMinorRevision { get { return _ToolVersion.Minor; } set { _ToolVersion.Minor = value; } }
210    
211          private ArtToolInfoVersion _ToolVersion;          private ArtToolInfoVersion _ToolVersion;
212          /// <summary>          /// <summary>
213          /// Get/set ArtTool Version          /// Get/set ArtTool Version
214          /// </summary>          /// </summary>
215          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
216            [CategoryAttribute("Art Tool Info")]
217            [Browsable(true)]
218          public ArtToolInfoVersion ToolVersion { get { return _ToolVersion; } set { _ToolVersion = value; } }          public ArtToolInfoVersion ToolVersion { get { return _ToolVersion; } set { _ToolVersion = value; } }
219    
220          /// <summary>          /// <summary>
# Line 212  namespace gr2lib.core.coretypes.implemen Line 222  namespace gr2lib.core.coretypes.implemen
222          /// </summary>          /// </summary>
223          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
224          //[Editor(typeof(UINumericEditor<NumericType<float>,float>), typeof(UITypeEditor))]          //[Editor(typeof(UINumericEditor<NumericType<float>,float>), typeof(UITypeEditor))]
225            [CategoryAttribute("Art Tool Info")]
226          public float UnitsPerMeter { get { return _unitsPerMeter; } set { _unitsPerMeter = value; } }          public float UnitsPerMeter { get { return _unitsPerMeter; } set { _unitsPerMeter = value; } }
227    
228          /// <summary>          ///// <summary>
229          ///Get/set  ArtTool Origin          /////Get/set  ArtTool Origin
230          /// </summary>          ///// </summary>
231          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
232          public Vector3 Origin { get { return Vector.Origin; } set { Vector.Origin = value; } }          //internal Vector3 Origin { get { return Vector.Origin; } set { Vector.Origin = value; } }
233          /// <summary>          ///// <summary>
234          ///Get/set  ArtTool Right          /////Get/set  ArtTool Right
235          /// </summary>          ///// </summary>
236          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
237          public Vector3 Right { get { return Vector.Right; } set { Vector.Right = value; } }          //internal Vector3 Right { get { return Vector.Right; } set { Vector.Right = value; } }
238          /// <summary>          ///// <summary>
239          ///Get/set  ArtTool Up          /////Get/set  ArtTool Up
240          /// </summary>          ///// </summary>
241          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
242          public Vector3 Up { get { return Vector.Up; } set { Vector.Up = value; } }          //internal Vector3 Up { get { return Vector.Up; } set { Vector.Up = value; } }
243          /// <summary>          ///// <summary>
244          ///Get/set  ArtTool Back          /////Get/set  ArtTool Back
245          /// </summary>          ///// </summary>
246          [RefreshPropertiesAttribute(RefreshProperties.All)]          //[RefreshPropertiesAttribute(RefreshProperties.All)]
247          public Vector3 Back { get { return Vector.Back; } set { Vector.Back = value; } }          //internal Vector3 Back { get { return Vector.Back; } set { Vector.Back = value; } }
248    
249          private ArtToolInfoVector _Vector;          private ArtToolInfoVector _Vector;
250          /// <summary>          /// <summary>
251          ///Get/set  ArtTool Vector          ///Get/set  ArtTool Vector
252          /// </summary>          /// </summary>
253          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
254            [CategoryAttribute("Art Tool Info")]
255            [Browsable(true)]
256          public ArtToolInfoVector Vector          public ArtToolInfoVector Vector
257          {          {
258              get { return _Vector; }              get { return _Vector; }

Legend:
Removed from v.5  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.22