vector fromNDC(vector v)
Transforms the vector from NDC space to the current space.
vector fromNDC(string space, vector v)
Transforms the vector from NDC space to the named space.
space
The possible values for the space arguments are:
An object path |
Use the object space of an object specified by a path string. Tip In some cases, such as point instancing, mantra may
automatically mangle object paths. You can generate an |
|
Object space of the current object. |
|
Object space of the current light when executing a shadow or light shader. |
|
Houdini world space. |
|
mantra camera space. |
|
Normal Device Coordinate space. |
|
Normal Device Coordinate space for the current light when executing a shadow or light shader. |
|
The current space the vector is in. |
transform |