C# Class CombinedMeshRenderer.Factory

Inheritance: UnityRenderer.Factory
Show file Open project: explodingbarrel/lwf

Public Properties

Property Type Description
buffer CombinedMeshBuffer
mesh UnityEngine.Mesh
meshFilter UnityEngine.MeshFilter
meshRenderer UnityEngine.MeshRenderer
premultipliedAlpha bool
updated bool

Public Methods

Method Description
AddBitmap ( ) : void
BeginRender ( LWF lwf ) : void
ConstructBitmap ( LWF lwf, int objectId, Bitmap bitmap ) : Renderer
ConstructBitmapEx ( LWF lwf, int objectId, BitmapEx bitmapEx ) : Renderer
ConstructText ( LWF lwf, int objectId, Text text ) : TextRenderer
DeleteBitmap ( ) : void
Destruct ( ) : void
EndRender ( LWF lwf ) : void
Factory ( Data d, GameObject gObj, float zOff, float zR = 1, int rQOff, Camera cam = null, string texturePrfx = "", string fontPrfx = "", TextureLoader textureLdr = null, TextureUnloader textureUnldr = null )

Private Methods

Method Description
CreateBitmapContexts ( Data data ) : void

Method Details

AddBitmap() public method

public AddBitmap ( ) : void
return void

BeginRender() public method

public BeginRender ( LWF lwf ) : void
lwf LWF
return void

ConstructBitmap() public method

public ConstructBitmap ( LWF lwf, int objectId, Bitmap bitmap ) : Renderer
lwf LWF
objectId int
bitmap Bitmap
return UnityEngine.Renderer

ConstructBitmapEx() public method

public ConstructBitmapEx ( LWF lwf, int objectId, BitmapEx bitmapEx ) : Renderer
lwf LWF
objectId int
bitmapEx BitmapEx
return UnityEngine.Renderer

ConstructText() public method

public ConstructText ( LWF lwf, int objectId, Text text ) : TextRenderer
lwf LWF
objectId int
text Text
return TextRenderer

DeleteBitmap() public method

public DeleteBitmap ( ) : void
return void

Destruct() public method

public Destruct ( ) : void
return void

EndRender() public method

public EndRender ( LWF lwf ) : void
lwf LWF
return void

Factory() public method

public Factory ( Data d, GameObject gObj, float zOff, float zR = 1, int rQOff, Camera cam = null, string texturePrfx = "", string fontPrfx = "", TextureLoader textureLdr = null, TextureUnloader textureUnldr = null )
d Data
gObj UnityEngine.GameObject
zOff float
zR float
rQOff int
cam UnityEngine.Camera
texturePrfx string
fontPrfx string
textureLdr TextureLoader
textureUnldr TextureUnloader

Property Details

buffer public property

public CombinedMeshBuffer,CombinedMeshRenderer buffer
return CombinedMeshBuffer

mesh public property

public Mesh,UnityEngine mesh
return UnityEngine.Mesh

meshFilter public property

public MeshFilter,UnityEngine meshFilter
return UnityEngine.MeshFilter

meshRenderer public property

public UnityEngine.MeshRenderer meshRenderer
return UnityEngine.MeshRenderer

premultipliedAlpha public property

public bool premultipliedAlpha
return bool

updated public property

public bool updated
return bool