IndirectPositionCollection.IndexOf Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Gets the index of the specified position in a collection.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public sealed int IndexOf( Vector3 item )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- item
-
Type: Microsoft.Xna.Framework.Vector3
Position being searched for.
Return Value
Type: System.Int32Index of the specified position or -1 if not found.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop