C# Class SSTUTools.ProceduralModel

Afficher le fichier Open project: shadowmage45/SSTULabs

Méthodes publiques

Свойство Type Description
root UnityEngine.GameObject
rootName String

Protected Properties

Свойство Type Description
currentMaterial UnityEngine.Material
meshColliderConvex bool
meshColliderEnabled bool

Méthodes publiques

Méthode Description
createModel ( ) : void
destroyModel ( ) : void
recreateModel ( ) : void
setMainTexture ( String texName ) : void
setMaterial ( Material mat ) : void
setNormalTexture ( String texName ) : void
setParent ( Transform tr ) : void

Méthodes protégées

Méthode Description
generateModel ( GameObject root ) : void
updateModelMaterial ( ) : void

Method Details

createModel() public méthode

public createModel ( ) : void
Résultat void

destroyModel() public méthode

public destroyModel ( ) : void
Résultat void

generateModel() protected méthode

protected generateModel ( GameObject root ) : void
root UnityEngine.GameObject
Résultat void

recreateModel() public méthode

public recreateModel ( ) : void
Résultat void

setMainTexture() public méthode

public setMainTexture ( String texName ) : void
texName String
Résultat void

setMaterial() public méthode

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

setNormalTexture() public méthode

public setNormalTexture ( String texName ) : void
texName String
Résultat void

setParent() public méthode

public setParent ( Transform tr ) : void
tr UnityEngine.Transform
Résultat void

updateModelMaterial() protected méthode

protected updateModelMaterial ( ) : void
Résultat void

Property Details

currentMaterial protected_oe property

protected Material,UnityEngine currentMaterial
Résultat UnityEngine.Material

meshColliderConvex protected_oe property

protected bool meshColliderConvex
Résultat bool

meshColliderEnabled protected_oe property

protected bool meshColliderEnabled
Résultat bool

root public_oe property

public GameObject,UnityEngine root
Résultat UnityEngine.GameObject

rootName public_oe property

public String rootName
Résultat String