C# 클래스 SSTUTools.FairingContainer

Generic procedural fairing container
파일 보기 프로젝트 열기: shadowmage45/SSTULabs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
edgesUV UVArea
faces int
facesPerCollider int
generateColliders bool
insideUV UVArea
outsideUV UVArea
rootObject UnityEngine.GameObject

공개 메소드들

메소드 설명
FairingContainer ( GameObject root, int cylinderFaces, int numberOfPanels, float thickness ) : System
addRing ( float height, float radius ) : void
clearProfile ( ) : void
enableColliders ( bool val ) : void
enableRender ( bool val ) : void
generateFairing ( ) : void
getBottomRadius ( ) : float
getHeight ( ) : float
getTopRadius ( ) : float
jettisonPanels ( Part part, float force, Vector3 jettisonDirection, float perPanelMass ) : void
recreateModels ( ) : void
reparentFairing ( Transform newParent, bool nest ) : void
setMaterial ( Material mat ) : void
setNumberOfPanels ( int panels, bool recreate ) : void
setOpacity ( float value ) : void
setPanelRotations ( float angle ) : void

메소드 상세

FairingContainer() 공개 메소드

public FairingContainer ( GameObject root, int cylinderFaces, int numberOfPanels, float thickness ) : System
root UnityEngine.GameObject
cylinderFaces int
numberOfPanels int
thickness float
리턴 System

addRing() 공개 메소드

public addRing ( float height, float radius ) : void
height float
radius float
리턴 void

clearProfile() 공개 메소드

public clearProfile ( ) : void
리턴 void

enableColliders() 공개 메소드

public enableColliders ( bool val ) : void
val bool
리턴 void

enableRender() 공개 메소드

public enableRender ( bool val ) : void
val bool
리턴 void

generateFairing() 공개 메소드

public generateFairing ( ) : void
리턴 void

getBottomRadius() 공개 메소드

public getBottomRadius ( ) : float
리턴 float

getHeight() 공개 메소드

public getHeight ( ) : float
리턴 float

getTopRadius() 공개 메소드

public getTopRadius ( ) : float
리턴 float

jettisonPanels() 공개 메소드

public jettisonPanels ( Part part, float force, Vector3 jettisonDirection, float perPanelMass ) : void
part Part
force float
jettisonDirection Vector3
perPanelMass float
리턴 void

recreateModels() 공개 메소드

public recreateModels ( ) : void
리턴 void

reparentFairing() 공개 메소드

public reparentFairing ( Transform newParent, bool nest ) : void
newParent UnityEngine.Transform
nest bool
리턴 void

setMaterial() 공개 메소드

public setMaterial ( Material mat ) : void
mat UnityEngine.Material
리턴 void

setNumberOfPanels() 공개 메소드

public setNumberOfPanels ( int panels, bool recreate ) : void
panels int
recreate bool
리턴 void

setOpacity() 공개 메소드

public setOpacity ( float value ) : void
value float
리턴 void

setPanelRotations() 공개 메소드

public setPanelRotations ( float angle ) : void
angle float
리턴 void

프로퍼티 상세

edgesUV 공개적으로 프로퍼티

public UVArea,SSTUTools edgesUV
리턴 UVArea

faces 공개적으로 프로퍼티

public int faces
리턴 int

facesPerCollider 공개적으로 프로퍼티

public int facesPerCollider
리턴 int

generateColliders 공개적으로 프로퍼티

public bool generateColliders
리턴 bool

insideUV 공개적으로 프로퍼티

public UVArea,SSTUTools insideUV
리턴 UVArea

outsideUV 공개적으로 프로퍼티

public UVArea,SSTUTools outsideUV
리턴 UVArea

rootObject 공개적으로 프로퍼티

public GameObject,UnityEngine rootObject
리턴 UnityEngine.GameObject