Universe.Region.SceneObjectGroup.ScheduleGroupUpdateToAvatar C# (CSharp) Method

ScheduleGroupUpdateToAvatar() public method

Send an update to all prims in the group to a specific avatar
public ScheduleGroupUpdateToAvatar ( IScenePresence presence, PrimUpdateFlags UpdateFlags ) : void
presence IScenePresence
UpdateFlags PrimUpdateFlags
return void
        public void ScheduleGroupUpdateToAvatar(IScenePresence presence, PrimUpdateFlags UpdateFlags)
        {
            //We have to send the root part first as the client wants it that way
            presence.AddUpdateToAvatar(RootPart, UpdateFlags);

            foreach (SceneObjectPart part in m_partsList.Where(part => part != RootPart))
            {
                presence.AddUpdateToAvatar(part, UpdateFlags);
            }
        }
SceneObjectGroup