C# 클래스 idTech4.Renderer.idRenderModel_Static

상속: idRenderModel
파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_bounds idBounds
_name string
_purged bool

공개 메소드들

메소드 설명
AddSurface ( RenderModelSurface surface ) : void
FinishSurfaces ( ) : void

The mergeShadows option allows surfaces with different textures to share silhouette edges for shadow calculation, instead of leaving shared edges hanging. If any of the original shaders have the noSelfShadow flag set, the surfaces can't be merged, because they will need to be drawn in different order. If there is only one surface, a separate merged surface won't be generated. A model with multiple surfaces can't later have a skinned shader change the state of the noSelfShadow flag. ----------------- Creates mirrored copies of two sided surfaces with normal maps, which would otherwise light funny. Extends the bounds of deformed surfaces so they don't cull incorrectly at screen edges.

FreeVertexCache ( ) : void
GetBounds ( RenderEntityComponent renderEntity = null ) : idBounds
GetJointIndex ( idMD5Joint joint ) : int
GetJointIndex ( string name ) : int
GetJointName ( int index ) : string
GetNearestJoint ( int surfaceIndex, int a, int c, int b ) : int
GetSurface ( int index ) : RenderModelSurface
InitEmpty ( string name ) : void
InitFromFile ( string fileName ) : void
InstantiateDynamicModel ( idRenderEntity renderEntity, View view, idRenderModel cachedModel ) : idRenderModel
List ( ) : void
Load ( ) : void
MakeDefault ( ) : void
PartialInitFromFile ( string fileName ) : void
Print ( ) : void
Purge ( ) : void
Reset ( ) : void
TouchData ( ) : void
idRenderModel_Static ( ) : System

비공개 메소드들

메소드 설명
AddCubeFace ( Surface tri, int faceNumber, Vector3 v1, Vector3 v2, Vector3 v3, Vector3 v4 ) : void

메소드 상세

AddSurface() 공개 메소드

public AddSurface ( RenderModelSurface surface ) : void
surface RenderModelSurface
리턴 void

FinishSurfaces() 공개 메소드

The mergeShadows option allows surfaces with different textures to share silhouette edges for shadow calculation, instead of leaving shared edges hanging. If any of the original shaders have the noSelfShadow flag set, the surfaces can't be merged, because they will need to be drawn in different order. If there is only one surface, a separate merged surface won't be generated. A model with multiple surfaces can't later have a skinned shader change the state of the noSelfShadow flag. ----------------- Creates mirrored copies of two sided surfaces with normal maps, which would otherwise light funny. Extends the bounds of deformed surfaces so they don't cull incorrectly at screen edges.
public FinishSurfaces ( ) : void
리턴 void

FreeVertexCache() 공개 메소드

public FreeVertexCache ( ) : void
리턴 void

GetBounds() 공개 메소드

public GetBounds ( RenderEntityComponent renderEntity = null ) : idBounds
renderEntity RenderEntityComponent
리턴 idBounds

GetJointIndex() 공개 메소드

public GetJointIndex ( idMD5Joint joint ) : int
joint idMD5Joint
리턴 int

GetJointIndex() 공개 메소드

public GetJointIndex ( string name ) : int
name string
리턴 int

GetJointName() 공개 메소드

public GetJointName ( int index ) : string
index int
리턴 string

GetNearestJoint() 공개 메소드

public GetNearestJoint ( int surfaceIndex, int a, int c, int b ) : int
surfaceIndex int
a int
c int
b int
리턴 int

GetSurface() 공개 메소드

public GetSurface ( int index ) : RenderModelSurface
index int
리턴 RenderModelSurface

InitEmpty() 공개 메소드

public InitEmpty ( string name ) : void
name string
리턴 void

InitFromFile() 공개 메소드

public InitFromFile ( string fileName ) : void
fileName string
리턴 void

InstantiateDynamicModel() 공개 메소드

public InstantiateDynamicModel ( idRenderEntity renderEntity, View view, idRenderModel cachedModel ) : idRenderModel
renderEntity idRenderEntity
view View
cachedModel idRenderModel
리턴 idRenderModel

List() 공개 메소드

public List ( ) : void
리턴 void

Load() 공개 메소드

public Load ( ) : void
리턴 void

MakeDefault() 공개 메소드

public MakeDefault ( ) : void
리턴 void

PartialInitFromFile() 공개 메소드

public PartialInitFromFile ( string fileName ) : void
fileName string
리턴 void

Print() 공개 메소드

public Print ( ) : void
리턴 void

Purge() 공개 메소드

public Purge ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

TouchData() 공개 메소드

public TouchData ( ) : void
리턴 void

idRenderModel_Static() 공개 메소드

public idRenderModel_Static ( ) : System
리턴 System

프로퍼티 상세

_bounds 보호되어 있는 프로퍼티

protected idBounds _bounds
리턴 idBounds

_name 보호되어 있는 프로퍼티

protected string _name
리턴 string

_purged 보호되어 있는 프로퍼티

protected bool _purged
리턴 bool