C# Class RenderImage, FairyGUI-unity

Inheritance: MonoBehaviour
Afficher le fichier Open project: fairygui/FairyGUI-unity Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
LoadModel ( string model ) : void
RenderImage ( GGraph holder ) : System.Collections
SetBackground ( GObject, image ) : void

The rendertexture is not transparent. So if you want to the UI elements can be seen in the back of the models/particles in rendertexture, you can set a maximunm two images for background. Be careful if your image is 9 grid scaling, you must make sure the place holder is inside the middle box(dont cover from border to middle).

SetBackground ( GObject, image1, GObject, image2 ) : void

The rendertexture is not transparent. So if you want to the UI elements can be seen in the back of the models/particles in rendertexture, you can set a maximunm two images for background.

StartRotate ( float delta ) : void
StopRotate ( ) : void
UnloadModel ( ) : void

Private Methods

Méthode Description
CreateTexture ( ) : void
DestroyTexture ( ) : void
OnAddedToStage ( ) : void
OnRemoveFromStage ( ) : void
Render ( object param = null ) : void
SetLayer ( GameObject go, int layer ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

LoadModel() public méthode

public LoadModel ( string model ) : void
model string
Résultat void

RenderImage() public méthode

public RenderImage ( GGraph holder ) : System.Collections
holder GGraph
Résultat System.Collections

SetBackground() public méthode

The rendertexture is not transparent. So if you want to the UI elements can be seen in the back of the models/particles in rendertexture, you can set a maximunm two images for background. Be careful if your image is 9 grid scaling, you must make sure the place holder is inside the middle box(dont cover from border to middle).
public SetBackground ( GObject, image ) : void
image GObject,
Résultat void

SetBackground() public méthode

The rendertexture is not transparent. So if you want to the UI elements can be seen in the back of the models/particles in rendertexture, you can set a maximunm two images for background.
public SetBackground ( GObject, image1, GObject, image2 ) : void
image1 GObject,
image2 GObject,
Résultat void

StartRotate() public méthode

public StartRotate ( float delta ) : void
delta float
Résultat void

StopRotate() public méthode

public StopRotate ( ) : void
Résultat void

UnloadModel() public méthode

public UnloadModel ( ) : void
Résultat void