LightCOMP Class

From TouchDesigner Documentation
Revision as of 14:57, 8 August 2017 by Admin (talk | contribs) (LightCOMP Class Auto Create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{lowercase} {OPClassSummary|OPtype=light|OPfamily=COMP} {ClassMemberSection|empty=True} {ClassMethodSection|empty=} {ClassMethod

   |class=lightCOMP
   |name=projection
   |call=projection(x, y)
   |returns=
   |text=: -> matrix

Returns the projection matrix for the light's view, given the X and Y aspect. In general these would be set to the width and height of your render.

x - The horizontal aspect ratio.
y - The vertical aspect ratio.

newlist = op('geo1').pars('t?', 'r?', 's?') #translate/rotate/scale parameters } {ClassMethod

   |class=lightCOMP
   |name=projectionInverse
   |call=projectionInverse(x, y)
   |returns=
   |text=: -> Matrix

Returns the inverse projection matrix for the light's view, given the X and Y aspect. In general these would be set to the width and height of your render.

x - The horizontal aspect ratio.
y - The vertical aspect ratio.

} {ClassInheritance|class=COMP} {ClassInheritance|class=OP} TouchDesigner Build:

{#invoke:Category|list|COMP Classes}

An Operator Family that contains its own Network inside. There are twelve 3D Object Component and eight 2D Panel Component types. See also Network Path.

Any of the procedural data operators. OPs do all the work in TouchDesigner. They "cook" and output data to other OPs, which ultimately result in new images, data and audio being generated. See Node.