Property | Type | Description | |
---|---|---|---|
Clear | void | ||
CreateUIVertexStreamInternal | void | ||
DisableRectClipping | void | ||
GetAlpha | float | ||
GetMaterial | |||
GetPopMaterial | |||
INTERNAL_CALL_EnableRectClipping | void | ||
INTERNAL_CALL_GetColor | void | ||
INTERNAL_CALL_SetColor | void | ||
RequestRefresh | void | ||
SetAlpha | void | ||
SetAlphaTexture | void | ||
SetMaterial | void | ||
SetMesh | void | ||
SetPopMaterial | void | ||
SetTexture | void | ||
SetVertices | void | ||
SetVertices | void | ||
SplitIndiciesStreamsInternal | void | ||
SplitUIVertexStreamsInternal | void |
Method | Description | |
---|---|---|
AddUIVertexStream ( List |
||
CreateUIVertexStream ( List |
||
EnableRectClipping ( |
Enables rect clipping on the CanvasRendered. Geometry outside of the specified rect will be clipped (not rendered).
|
|
GetColor ( ) : Color |
Get the current color of the renderer.
|
|
GetMaterial ( ) : |
Gets the current Material assigned to the CanvasRenderer.
|
|
SetColor ( Color color ) : void |
Set the color of the renderer. Will be multiplied with the UIVertex color and the Canvas color.
|
|
SetMaterial ( |
Set the material for the canvas renderer. If a texture is specified then it will be used as the 'MainTex' instead of the material's 'MainTex'. See Also: CanvasRenderer.SetMaterialCount, CanvasRenderer.SetTexture.
|
|
SplitUIVertexStreams ( List |
Method | Description | |
---|---|---|
Clear ( ) : void | ||
CreateUIVertexStreamInternal ( object verts, object positions, object colors, object uv0S, object uv1S, object normals, object tangents, object indicies ) : void | ||
DisableRectClipping ( ) : void | ||
GetAlpha ( ) : float | ||
GetMaterial ( int index ) : |
||
GetPopMaterial ( int index ) : |
||
INTERNAL_CALL_EnableRectClipping ( |
||
INTERNAL_CALL_GetColor ( |
||
INTERNAL_CALL_SetColor ( |
||
RequestRefresh ( ) : void | ||
SetAlpha ( float alpha ) : void | ||
SetAlphaTexture ( |
||
SetMaterial ( |
||
SetMesh ( |
||
SetPopMaterial ( |
||
SetTexture ( |
||
SetVertices ( List |
||
SetVertices ( |
||
SplitIndiciesStreamsInternal ( object verts, object indicies ) : void | ||
SplitUIVertexStreamsInternal ( object verts, object positions, object colors, object uv0S, object uv1S, object normals, object tangents ) : void |
public static AddUIVertexStream ( List |
||
verts | List |
|
positions | List |
|
colors | List |
|
uv0S | List |
|
uv1S | List |
|
normals | List |
|
tangents | List |
|
return | void |
public static CreateUIVertexStream ( List |
||
verts | List |
|
positions | List |
|
colors | List |
|
uv0S | List |
|
uv1S | List |
|
normals | List |
|
tangents | List |
|
indicies | List |
|
return | void |
public EnableRectClipping ( |
||
rect | ||
return | void |
public SetColor ( Color color ) : void | ||
color | Color | Renderer multiply color. |
return | void |
public SetMaterial ( |
||
material | Material for rendering. | |
texture | Material texture overide. | |
return | void |
public static SplitUIVertexStreams ( List |
||
verts | List |
|
positions | List |
|
colors | List |
|
uv0S | List |
|
uv1S | List |
|
normals | List |
|
tangents | List |
|
indicies | List |
|
return | void |