public void Add<T>(
Material material,
BlendMode blendMode,
T[] vertices,
short[] indices = null,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
where T : struct, new(), Vertex
public void Add<T>(
Material material,
BlendMode blendMode,
T[] vertices,
short[] indices = null,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
where T : struct, new(), Vertex
Public Sub Add(Of T As {Structure, New, Vertex}) (
material As Material,
blendMode As BlendMode,
vertices As T(),
Optional indices As Short() = Nothing,
Optional numberOfVerticesUsed As Integer = 0,
Optional numberOfIndicesUsed As Integer = 0
)
Public Sub Add(Of T As {Structure, New, Vertex}) (
material As Material,
blendMode As BlendMode,
vertices As T(),
Optional indices As Short() = Nothing,
Optional numberOfVerticesUsed As Integer = 0,
Optional numberOfIndicesUsed As Integer = 0
)
public:
generic<typename T>
where T : value class, gcnew(), Vertex
void Add(
Material^ material,
BlendMode blendMode,
array<T>^ vertices,
array<short>^ indices = nullptr,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
public:
generic<typename T>
where T : value class, gcnew(), Vertex
void Add(
Material^ material,
BlendMode blendMode,
array<T>^ vertices,
array<short>^ indices = nullptr,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
member Add :
material : Material *
blendMode : BlendMode *
vertices : 'T[] *
?indices : int16[] *
?numberOfVerticesUsed : int *
?numberOfIndicesUsed : int
(* Defaults:
let _indices = defaultArg indices null
let _numberOfVerticesUsed = defaultArg numberOfVerticesUsed 0
let _numberOfIndicesUsed = defaultArg numberOfIndicesUsed 0
*)
-> unit when 'T : struct, new() and Vertex
member Add :
material : Material *
blendMode : BlendMode *
vertices : 'T[] *
?indices : int16[] *
?numberOfVerticesUsed : int *
?numberOfIndicesUsed : int
(* Defaults:
let _indices = defaultArg indices null
let _numberOfVerticesUsed = defaultArg numberOfVerticesUsed 0
let _numberOfIndicesUsed = defaultArg numberOfIndicesUsed 0
*)
-> unit when 'T : struct, new() and Vertex