C# 클래스 ModelGeometry, SumoVizUnity_ModSem

상속: Geometry
파일 보기 프로젝트 열기: benjaminaaron/SumoVizUnity_ModSem 1 사용 예제들

공개 메소드들

메소드 설명
create ( string prefabName, List edges, float height ) : void
getDim ( Vector2 min, Vector2 max ) : Vector2
minMax ( List edges ) : Vector2[]
moveCenter ( Vector2 min, Vector2 dim, float height ) : Vector3
scaleObject ( GameObject toScale, Vector2 dim ) : void

메소드 상세

create() 공개 정적인 메소드

public static create ( string prefabName, List edges, float height ) : void
prefabName string
edges List
height float
리턴 void

getDim() 공개 정적인 메소드

public static getDim ( Vector2 min, Vector2 max ) : Vector2
min Vector2
max Vector2
리턴 Vector2

minMax() 공개 정적인 메소드

public static minMax ( List edges ) : Vector2[]
edges List
리턴 Vector2[]

moveCenter() 공개 정적인 메소드

public static moveCenter ( Vector2 min, Vector2 dim, float height ) : Vector3
min Vector2
dim Vector2
height float
리턴 Vector3

scaleObject() 공개 정적인 메소드

public static scaleObject ( GameObject toScale, Vector2 dim ) : void
toScale GameObject
dim Vector2
리턴 void