C# 클래스 FluidParticle, UnityFluid2D

상속: MonoBehaviour
파일 보기 프로젝트 열기: hiroakioishi/UnityFluid2D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Fluid2D Fluid2D,
KernelShader Shader
LifeTimeMax float
LifeTimeMin float
ParticleColor Color
ParticleNum int
RandomSeed float
RenderMat Material

공개 메소드들

메소드 설명
OnGUI ( ) : void
Render ( ) : void
Setup ( ) : void
Start ( ) : void
Step ( ) : void
Update ( ) : void
_createBuffer ( RenderTexture &rt_, int bufferWidth_, int bufferHeight_ ) : void
_createBuffers ( ) : void
_createMaterial ( Material &mat_, Shader shader_ ) : void
_createMaterials ( ) : void
_createMesh ( ) : void
_destroyBuffer ( RenderTexture &buffer_ ) : void
_destroyBuffers ( ) : void
_destroyMaterial ( Material &mat_ ) : void
_destroyMaterials ( ) : void
_resetBuffer ( RenderTexture &rt_ ) : void
_resetBuffers ( ) : void
_swapBuffer ( RenderTexture buffer_ ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Render() 공개 메소드

public Render ( ) : void
리턴 void

Setup() 공개 메소드

public Setup ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Step() 공개 메소드

public Step ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

_createBuffer() 공개 메소드

public _createBuffer ( RenderTexture &rt_, int bufferWidth_, int bufferHeight_ ) : void
rt_ RenderTexture
bufferWidth_ int
bufferHeight_ int
리턴 void

_createBuffers() 공개 메소드

public _createBuffers ( ) : void
리턴 void

_createMaterial() 공개 메소드

public _createMaterial ( Material &mat_, Shader shader_ ) : void
mat_ Material
shader_ Shader
리턴 void

_createMaterials() 공개 메소드

public _createMaterials ( ) : void
리턴 void

_createMesh() 공개 메소드

public _createMesh ( ) : void
리턴 void

_destroyBuffer() 공개 메소드

public _destroyBuffer ( RenderTexture &buffer_ ) : void
buffer_ RenderTexture
리턴 void

_destroyBuffers() 공개 메소드

public _destroyBuffers ( ) : void
리턴 void

_destroyMaterial() 공개 메소드

public _destroyMaterial ( Material &mat_ ) : void
mat_ Material
리턴 void

_destroyMaterials() 공개 메소드

public _destroyMaterials ( ) : void
리턴 void

_resetBuffer() 공개 메소드

public _resetBuffer ( RenderTexture &rt_ ) : void
rt_ RenderTexture
리턴 void

_resetBuffers() 공개 메소드

public _resetBuffers ( ) : void
리턴 void

_swapBuffer() 공개 메소드

public _swapBuffer ( RenderTexture buffer_ ) : void
buffer_ RenderTexture
리턴 void

프로퍼티 상세

Fluid2D 공개적으로 프로퍼티

public Fluid2D, Fluid2D
리턴 Fluid2D,

KernelShader 공개적으로 프로퍼티

public Shader KernelShader
리턴 Shader

LifeTimeMax 공개적으로 프로퍼티

public float LifeTimeMax
리턴 float

LifeTimeMin 공개적으로 프로퍼티

public float LifeTimeMin
리턴 float

ParticleColor 공개적으로 프로퍼티

public Color ParticleColor
리턴 Color

ParticleNum 공개적으로 프로퍼티

public int ParticleNum
리턴 int

RandomSeed 공개적으로 프로퍼티

public float RandomSeed
리턴 float

RenderMat 공개적으로 프로퍼티

public Material RenderMat
리턴 Material