MarkerBatchPrimitiveOptionalParametersSetTextures Method |
Defines a collection of textures, one for each marker in the batch.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public void SetTextures(
IEnumerable<Texture2D> textures
)
Public Sub SetTextures (
textures As IEnumerable(Of Texture2D)
)
public:
void SetTextures(
IEnumerable<Texture2D^>^ textures
)
member SetTextures :
textures : IEnumerable<Texture2D> -> unit
Parameters
- textures
- Type: System.Collections.GenericIEnumerableTexture2D
The textures for each marker in the batch. There must be one texture for
each position passed to the
MarkerBatchPrimitive's
Set or SetPartial method.
Remarks
Per-marker textures override the per-batch texture. Therefore, when
per-marker textures are defined with this method,
MarkerBatchPrimitive.Texture
is not used.
See Also