Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

Texture Class Reference

Texture presents the mapping of a pixel surface onto geometry. More...

Inheritance diagram for Texture:

Node Object List of all members.

Detailed Description

Texture presents the mapping of a pixel surface onto geometry.

Authoring Interface:

        Texture {
                  // from TextureNode - not implemented yet
         field SFSurfaceNode surface NULL
         field SFBoolean     repeatS          true
         field SFBoolean     repeatT          true
         field SFString      pixelFilter      "LINEAR"
         field SFString      mipmapFilter     "LINEAR"
         field SFFloat       mipmapLODBias    0.0
        
         field SFString      colorFunction    "MODULATE"
                                                "REPLACE"       Replace all colour with texture with no adjustment.
                                                "ADD"           Add colour components together.
                                                "MODULATE"      Multiply colour components together.
                                                "ALPHA_BLEND"   Blend based on texture alpha.
       
         field MFString      colorSource      [ "INPUT", "TEXTURE" ]
         field MFString      colorOperand     [ "COLOR", "COLOR" ]
         field SFString      alphaFunction    "MODULATE"
         field MFString      alphaSource      [ "INPUT", "TEXTURE" ]
         field MFString      alphaOperand     [ "ALPHA", "ALPHA" ]
         field SFBoolean     decal            false
       
         field SFTextureTransform textureTransform NULL
        }

Parameters:
ambientColor specifies a Texture's ambient color. Default value: 0.2 0.2 0.2 1.0
Functionality:

XXX To be written


Generated on Sat Apr 1 06:08:09 2006 for Emma Content Development Kit by  doxygen 1.4.3