C# Класс Canguro.Commands.Model.AddCylinderCmd

Command to create a frame based cylinder
Наследование: Canguro.Commands.ModelCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
c int
r float

Private Properties

Свойство Тип Описание

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

Метод Описание
Run ( Canguro services ) : void

Executes the command. Gets the parameters and calls createCylinder to add a Cylinder to the model

Защищенные методы

Метод Описание
createCylinder ( Canguro model, System.Vector3 C, float radius, int cols, float height, int stories, StraightFrameProps props ) : void

Creates a cylinder and adds it to the model.

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

Run() публичный метод

Executes the command. Gets the parameters and calls createCylinder to add a Cylinder to the model
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Результат void

createCylinder() защищенный метод

Creates a cylinder and adds it to the model.
protected createCylinder ( Canguro model, System.Vector3 C, float radius, int cols, float height, int stories, StraightFrameProps props ) : void
model Canguro The Model object
C System.Vector3 The Center of the base
radius float The radius
cols int Number of columns
height float Height of each story
stories int Number of stories
props Canguro.Model.StraightFrameProps Frame properties to use in all elements
Результат void

Описание свойств

c защищенное статическое свойство

protected static int c
Результат int

r защищенное статическое свойство

protected static float r
Результат float