C# 클래스 SSTUTools.ProceduralCylinderModel

상속: ProceduralModel
파일 보기 프로젝트 열기: shadowmage45/SSTULabs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bottomUV UVArea
cylinderSides int
height float
insideUV UVArea
outsideUV UVArea
radius float
thickness float
topUV UVArea

공개 메소드들

메소드 설명
setModelParameters ( float radius, float height, float thickness, int cylinderSides, bool convex ) : void

보호된 메소드들

메소드 설명
generateModel ( GameObject root ) : void

메소드 상세

generateModel() 보호된 메소드

protected generateModel ( GameObject root ) : void
root UnityEngine.GameObject
리턴 void

setModelParameters() 공개 메소드

public setModelParameters ( float radius, float height, float thickness, int cylinderSides, bool convex ) : void
radius float
height float
thickness float
cylinderSides int
convex bool
리턴 void

프로퍼티 상세

bottomUV 공개적으로 프로퍼티

public UVArea,SSTUTools bottomUV
리턴 UVArea

cylinderSides 공개적으로 프로퍼티

public int cylinderSides
리턴 int

height 공개적으로 프로퍼티

public float height
리턴 float

insideUV 공개적으로 프로퍼티

public UVArea,SSTUTools insideUV
리턴 UVArea

outsideUV 공개적으로 프로퍼티

public UVArea,SSTUTools outsideUV
리턴 UVArea

radius 공개적으로 프로퍼티

public float radius
리턴 float

thickness 공개적으로 프로퍼티

public float thickness
리턴 float

topUV 공개적으로 프로퍼티

public UVArea,SSTUTools topUV
리턴 UVArea