Find All items in an
Return Value
a containing found items.
Examples
Find All prims within 20 meters and
store them in a List
Copy | |
---|---|
int radius = 20; List<Primitive> prims = Client.Network.CurrentSim.ObjectsPrimitives.FindAll( delegate(Primitive prim) { Vector3 pos = prim.Position; return ((prim.ParentID == 0) && (pos != Vector3.Zero) && (Vector3.Distance(pos, location) < radius)); } ); |
See Also
InternalDictionary
List
List
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)