Bases: object
Proxy of C++ PCore::LWSurfaceFuncs class
Returns the IDs of the (possibly many) surfaces with a given name. Different objects can have surfaces of the same name. If objname
is None, the array will contain every surface ID named surfname
, regardless of which object it belongs to.
Returns the surfaces belonging to the object. The object name is the filename.
Returns the channel group for the surface. This is the parent group for envelopes associated with the surface's parameters. It can be used with the Channel Info global.
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
Create a new surface. The object name is the filename, which you can get from the LWObjectInfo::filename()
method and the LWStateQueryFuncs::object()
method, given the object's item ID.
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
Returns the ID of the first surface in the surfaces list.
Returns the name of the vertex color map for the surface.
Returns the envelope ID for the surface parameter. This can be used with the Animation Envelopes global.
Returns the value of the surface parameter. The return value in most cases is a one-value sequence, but for colors, it is three.
Returns the image associated with the surface parameter. This function is limited to use with surface channels that refer directly to images, e.g. lwsdk.SURF_RIMG
and lwsdk.SURF_TIMG
(reflection and refraction maps). Images that are part of textures have to be obtained through the Texture Functions global.
Returns the value of the surface parameter (evaluates the channel) at the current time. Use this function for integer parameters and LWSurfaceFuncs::getFlt()
for floating-point parameters. The channel is one of the channel names listed in lwsurf.h.
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
Returns a texture ID for the surface parameter that can be used with the Texture Functions global.
This proxy method has been deprecated in LightWave 11.6. Please use the getFlt()
method instead.
!! NOT DOCUMENTED !!
Returns the name of a surface.
Returns the ID of the next surface in the surfaces list (the one following surf
).
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
Returns the filename of the object to which the surface belongs.
Set the surface's vertex color map. The type can be lwsdk.LWVMAP_RGB
(the vmap has a dimension of 3 and contains red, green and blue levels) or lwsdk.LWVMAP_RGBA
(dimension of 4, with RGB and alpha levels).
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!
This proxy method has been deprecated in LightWave 11.6. Please use the setFlt()
method instead.
!! NOT DOCUMENTED !!
!! NOT DOCUMENTED !!