Class SubDividedCityObject
PLATEAUCityObjectGroupを細分化したもの
Inheritance
System.Object
SubDividedCityObject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public class SubDividedCityObject
Properties
Children
Declaration
public List<SubDividedCityObject> Children { get; set; }
Property Value
CityObjectGroup
自身がもともとどのPLATEAUCityObjectGroupに属していたか
Declaration
public PLATEAUCityObjectGroup CityObjectGroup { get; }
Property Value
| Type |
Description |
| PLATEAUCityObjectGroup |
|
CityObjects
Declaration
public CityObjectList CityObjects { get; }
Property Value
LocalToWorldMatrix
Declaration
public Matrix4x4 LocalToWorldMatrix { get; }
Property Value
| Type |
Description |
| Matrix4x4 |
|
Meshes
Declaration
public List<SubDividedCityObject.Mesh> Meshes { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
ParentRoadType
Declaration
public RRoadTypeMask ParentRoadType { get; }
Property Value
| Type |
Description |
| RRoadTypeMask |
|
PrimaryCityObjectGroupKey
自分が属する主要地物のキー
歩道/道路/中央分離帯など最小地物を一つの道路にグルーピングするもの.
CityObjectGroupと同じになるとは限らない(タイル単位で落としてきたときなど)
Declaration
public RnCityObjectGroupKey PrimaryCityObjectGroupKey { get; }
Property Value
SelfRoadType
Declaration
public RRoadTypeMask SelfRoadType { get; }
Property Value
| Type |
Description |
| RRoadTypeMask |
|
SerializedCityObjects
Declaration
public string SerializedCityObjects { get; }
Property Value
| Type |
Description |
| System.String |
|
Visible
Declaration
public bool Visible { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
DeepCopy()
Declaration
public SubDividedCityObject DeepCopy()
Returns
GetAllChildren()
Declaration
public IEnumerable<SubDividedCityObject> GetAllChildren()
Returns
GetLodLevel()
Declaration
Returns
| Type |
Description |
| System.Int32 |
|
GetRoadType(Boolean)
Declaration
public RRoadTypeMask GetRoadType(bool containsParent)
Parameters
| Type |
Name |
Description |
| System.Boolean |
containsParent |
|
Returns
| Type |
Description |
| RRoadTypeMask |
|
IsBelongingTo(PLATEAUCityObjectGroup)
自身がgroupに属しているかどうか(子かどうか)
Declaration
public bool IsBelongingTo(PLATEAUCityObjectGroup group)
Parameters
| Type |
Name |
Description |
| PLATEAUCityObjectGroup |
group |
|
Returns
| Type |
Description |
| System.Boolean |
|
SetCityObjectGroup(PLATEAUCityObjectGroup, RnCityObjectGroupKey)
PLATEAUCityObjectGroup, 所属する主要地物のGroupKeyを設定する
Declaration
public void SetCityObjectGroup(PLATEAUCityObjectGroup group, RnCityObjectGroupKey groupKey)
Parameters
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()