C# Класс Aurora.Modules.CityBuilder.CityBuilding

Наследование: Aurora.Framework.ICityBuilding
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CityBuilding ( BuildingType type, BuildingPlot plot, BuildingFlags flags, UUID owner, IScene scene, string name ) : System

Construct the building class instance from the given properties.

Приватные методы

Метод Описание
constructCube ( float left, float right, float front, float back, float bottom, float top ) : void

constructCube ( int left, int right, int front, int back, int bottom, int top ) : void

constructRoof ( float left, float right, float front, float back, float bottom ) : void

constructSpike ( int left, int right, int front, int back, int bottom, int top ) : void

constructWall ( int start_x, int start_y, int start_z, int direction, int length, int height, int window_groups, float uv_start, bool blank_corners ) : float

createBlocky ( ) : bool

Constructs a blocky building this can be upto 10 floors in height (each floor is 3m).

createCube ( System.Vector3 pos, System.Vector3 dim, UUID TextureID ) : OpenSim.Framework.PrimitiveBaseShape

Constructs a cube at a given location and size.

createModern ( ) : bool

createSimple ( ) : bool

createTower ( ) : bool

Описание методов

CityBuilding() публичный Метод

Construct the building class instance from the given properties.
public CityBuilding ( BuildingType type, BuildingPlot plot, BuildingFlags flags, UUID owner, IScene scene, string name ) : System
type BuildingType type
plot BuildingPlot The plot of land this building stands on, note it might be bigger than the /// actual buildings footprint, for example if it is part of a larger complex, limit the size of /// buildings to have a footprint of no more than 100 square meters.
flags BuildingFlags
owner UUID The owner of the building either a user, or company (group of companies) own buildings.
scene IScene
name string
Результат System