C# Class SSTUTools.FairingContainer

Generic procedural fairing container
Afficher le fichier Open project: shadowmage45/SSTULabs Class Usage Examples

Méthodes publiques

Свойство Type Description
edgesUV UVArea
faces int
facesPerCollider int
generateColliders bool
insideUV UVArea
outsideUV UVArea
rootObject UnityEngine.GameObject

Méthodes publiques

Méthode Description
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

Method Details

FairingContainer() public méthode

public FairingContainer ( GameObject root, int cylinderFaces, int numberOfPanels, float thickness ) : System
root UnityEngine.GameObject
cylinderFaces int
numberOfPanels int
thickness float
Résultat System

addRing() public méthode

public addRing ( float height, float radius ) : void
height float
radius float
Résultat void

clearProfile() public méthode

public clearProfile ( ) : void
Résultat void

enableColliders() public méthode

public enableColliders ( bool val ) : void
val bool
Résultat void

enableRender() public méthode

public enableRender ( bool val ) : void
val bool
Résultat void

generateFairing() public méthode

public generateFairing ( ) : void
Résultat void

getBottomRadius() public méthode

public getBottomRadius ( ) : float
Résultat float

getHeight() public méthode

public getHeight ( ) : float
Résultat float

getTopRadius() public méthode

public getTopRadius ( ) : float
Résultat float

jettisonPanels() public méthode

public jettisonPanels ( Part part, float force, Vector3 jettisonDirection, float perPanelMass ) : void
part Part
force float
jettisonDirection Vector3
perPanelMass float
Résultat void

recreateModels() public méthode

public recreateModels ( ) : void
Résultat void

reparentFairing() public méthode

public reparentFairing ( Transform newParent, bool nest ) : void
newParent UnityEngine.Transform
nest bool
Résultat void

setMaterial() public méthode

public setMaterial ( Material mat ) : void
mat UnityEngine.Material
Résultat void

setNumberOfPanels() public méthode

public setNumberOfPanels ( int panels, bool recreate ) : void
panels int
recreate bool
Résultat void

setOpacity() public méthode

public setOpacity ( float value ) : void
value float
Résultat void

setPanelRotations() public méthode

public setPanelRotations ( float angle ) : void
angle float
Résultat void

Property Details

edgesUV public_oe property

public UVArea,SSTUTools edgesUV
Résultat UVArea

faces public_oe property

public int faces
Résultat int

facesPerCollider public_oe property

public int facesPerCollider
Résultat int

generateColliders public_oe property

public bool generateColliders
Résultat bool

insideUV public_oe property

public UVArea,SSTUTools insideUV
Résultat UVArea

outsideUV public_oe property

public UVArea,SSTUTools outsideUV
Résultat UVArea

rootObject public_oe property

public GameObject,UnityEngine rootObject
Résultat UnityEngine.GameObject