Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
NodeInformation.cs
Go to the documentation of this file.
1
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2
// This file is distributed under GPL v3. See LICENSE.md for details.
3
using
System.ComponentModel;
4
5
using
SiliconStudio.Core;
6
7
namespace
SiliconStudio.
Paradox
.Assets.Model
8
{
9
[DataContract(
"NodeInformation"
)]
10
[
DataStyle
(
DataStyle
.Compact)]
11
public
class
NodeInformation
12
{
13
/// <summary>
14
/// The name of the node.
15
/// </summary>
16
[DataMember(10)]
17
public
string
Name
;
18
19
/// <summary>
20
/// The index of the parent.
21
/// </summary>
22
[DataMember(20)]
23
public
int
Depth
;
24
25
/// <summary>
26
/// A flag stating if the node is collapsable.
27
/// </summary>
28
[DataMember(30)]
29
[DefaultValue(
true
)]
30
public
bool
Preserve
;
31
32
public
NodeInformation
()
33
{
34
Preserve =
true
;
35
}
36
37
public
NodeInformation
(
string
name,
int
depth,
bool
preserve)
38
{
39
Name = name;
40
Depth = depth;
41
Preserve = preserve;
42
}
43
}
44
}
SiliconStudio.Paradox.Assets.Model.NodeInformation.Name
string Name
The name of the node.
Definition:
NodeInformation.cs:17
SiliconStudio.Paradox.Assets.Model.NodeInformation.NodeInformation
NodeInformation()
Definition:
NodeInformation.cs:32
SiliconStudio.Paradox.Assets.Model.NodeInformation.Depth
int Depth
The index of the parent.
Definition:
NodeInformation.cs:23
SiliconStudio.Paradox.Assets.Model.NodeInformation.Preserve
bool Preserve
A flag stating if the node is collapsable.
Definition:
NodeInformation.cs:30
SiliconStudio.Paradox.Assets.Model.NodeInformation.NodeInformation
NodeInformation(string name, int depth, bool preserve)
Definition:
NodeInformation.cs:37
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
SiliconStudio.Paradox.Assets.Model.NodeInformation
Definition:
NodeInformation.cs:11
SiliconStudio.Core.DataStyle
DataStyle
Specifies the style used for textual serialization when an array/list or a dictionary/map must be ser...
Definition:
DataStyle.cs:9
sources
engine
SiliconStudio.Paradox.Assets.Model
NodeInformation.cs
Generated on Sat Dec 20 2014 21:51:28 for Paradox Game Engine by
1.8.7