功能更新
This commit is contained in:
@@ -19,4 +19,19 @@ public readonly struct TextWithPosition
|
||||
Position = pos;
|
||||
TextContent = content;
|
||||
}
|
||||
}
|
||||
|
||||
// 用于通用存储 地形点(块或点实体)的信息
|
||||
public readonly struct TerrainEntityInfo
|
||||
{
|
||||
public ObjectId ObjectId { get; }
|
||||
public Point3d Position { get; }
|
||||
public string Handle { get; }
|
||||
|
||||
public TerrainEntityInfo(ObjectId id, Point3d pos)
|
||||
{
|
||||
ObjectId = id;
|
||||
Position = pos;
|
||||
Handle = id.Handle.Value.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user