C# 클래스 Canguro.Commands.Model.AddCylinderCmd

Command to create a frame based cylinder
상속: Canguro.Commands.ModelCommand
파일 보기 프로젝트 열기: rforsbach/Treu-Structure

보호된 프로퍼티들

프로퍼티 타입 설명
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