logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoTextureCoordinateEnvironment — node that specifies texture coordinates by projection from a environment

Action Behavior

SoGLRenderAction,SoCallbackAction,SoRayPickAction
          Sets the current texture function in the state.

Description

       This  node  creates  texture coordinates by projecting points on an object's surface to the interior of a
       surrounding sphere, along the reflection across the surface normal of the vector from the camera point to
       the surface. If the  current  texture  image  represents  a  spherical  reflection  map  of  the  current
       surrounding environment, subsequent shapes will appear to reflect that environment.

File Format/Defaults

TextureCoordinateEnvironment{}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoTextureCoordinateFunction > SoTextureCoordinateEnvironment

Methods

SoTextureCoordinateEnvironment()
          Creates a texture function node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoTextureCoordinateEnvironment — node that specifies texture coordinates by projection from a environment

See Also

SoTexture2,SoTexture2Transform,SoTextureCoordinateDefault,SoTextureCoordinatePlaneSoTextureCoordinateEnvironment(3IV)()

Synopsis

#include<Inventor/nodes/SoTextureCoordinateEnvironment.h>

          Methods from class SoTextureCoordinateEnvironment:

                         SoTextureCoordinateEnvironment()staticSoTypegetClassTypeId()

          Methods from class SoNode:

     voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also