C# Class MagicalFPS.MagicEffect.BaseShape.DividedPlaneBoard

Inheritance: PlaneBoard
Exibir arquivo Open project: kyasbal-1994/MagicalFPS Class Usage Examples

Public Methods

Method Description
DividedPlaneBoard ( RenderContext context, ShaderResourceView resView, int divCount, PlaneBoard desc = null ) : System.Collections.Generic
DividedPlaneBoard ( RenderContext context, ShaderResourceView resView, int divCount, Vector2 size, PlaneBoard desc = null ) : System.Collections.Generic

Protected Methods

Method Description
GenerateVerticies ( float width, float height, List vertexBytes ) : void

Private Methods

Method Description
AddSquare ( Vector3 positions, Vector2 uvs, List verticies ) : void

Method Details

DividedPlaneBoard() public method

public DividedPlaneBoard ( RenderContext context, ShaderResourceView resView, int divCount, PlaneBoard desc = null ) : System.Collections.Generic
context RenderContext
resView ShaderResourceView
divCount int
desc PlaneBoard
return System.Collections.Generic

DividedPlaneBoard() public method

public DividedPlaneBoard ( RenderContext context, ShaderResourceView resView, int divCount, Vector2 size, PlaneBoard desc = null ) : System.Collections.Generic
context RenderContext
resView ShaderResourceView
divCount int
size Vector2
desc PlaneBoard
return System.Collections.Generic

GenerateVerticies() protected method

protected GenerateVerticies ( float width, float height, List vertexBytes ) : void
width float
height float
vertexBytes List
return void