GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
image_children(3) Arcan Lua API image_children(3)

image_children - List the objects in a context that has the specified object as a direct parent

vidtbl or bool
image_children( vid, searchvid )

This function provides either a list of immediate descendants (images linked TO vid) or recursively scans and tests if vid is related to searchvid (when provided).

function image_children0()
      a = null_surface(1, 1);
      b = null_surface(1, 1);
      c = null_surface(1, 1);
      link_image(b, a);
      link_image(c, b);
      tbl = image_children(a);
      for i,v in ipairs(tbl) do
            print(v);
      end
end

function image_children1()
      a = null_surface(1, 1);
      b = null_surface(1, 1);
      c = null_surface(1, 1);
      d = null_surface(1, 1);
      link_image(c, b);
      link_image(b, a);
      local positive = image_children(c, a);
      local negative = image_children(d, a);
      print(positive, negative);
end

function image_children0()
      image_childen(BADID);
end

image_parent(3)

June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.