C# 클래스 RenderImage, FairyGUI-unity

상속: MonoBehaviour
파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CreateTexture ( ) : void
DestroyTexture ( ) : void
OnAddedToStage ( ) : void
OnRemoveFromStage ( ) : void
Render ( object param = null ) : void
SetLayer ( GameObject go, int layer ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

LoadModel() 공개 메소드

public LoadModel ( string model ) : void
model string
리턴 void

RenderImage() 공개 메소드

public RenderImage ( GGraph holder ) : System.Collections
holder GGraph
리턴 System.Collections

SetBackground() 공개 메소드

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,
리턴 void

SetBackground() 공개 메소드

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,
리턴 void

StartRotate() 공개 메소드

public StartRotate ( float delta ) : void
delta float
리턴 void

StopRotate() 공개 메소드

public StopRotate ( ) : void
리턴 void

UnloadModel() 공개 메소드

public UnloadModel ( ) : void
리턴 void