Image_3D
[ class tree: Image_3D ] [ index: Image_3D ] [ all elements ]

Class: Image_3D_Light

Source Location: /Image_3D-0.4.2/Image/3D/Paintable/Light.php

Class Overview

Image_3D_Coordinate
   |
   --Image_3D_Light

Image_3D_Light


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 Kore Nordmann

Variables

Methods


Child classes:

Image_3D_Light_Spotlight
Image_3D_Light
Image_3D_Light_Point
Image_3D_Light_Point
Image_3D_Light_Ambient
Image_3D_Light

Inherited Variables

Inherited Methods

Class: Image_3D_Coordinate

Image_3D_Coordinate::__construct()
Constructor for Image_3D_Coordinate
Image_3D_Coordinate::getScreenCoordinates()
Get screen coordinates
Image_3D_Coordinate::getX()
Return X coordinate
Image_3D_Coordinate::getY()
Return Y coordinate
Image_3D_Coordinate::getZ()
Return Z coordinate
Image_3D_Coordinate::isProcessed()
Coordinate already processed
Image_3D_Coordinate::processed()
Set Coordinate processed
Image_3D_Coordinate::setScreenCoordinates()
Set precalculated screen coordinates
Image_3D_Coordinate::transform()
Transform the Coordinate
Image_3D_Coordinate::__toString()
Returns coordinate as string

Class Details

[line 48]
Image_3D_Light


[ Top ]


Class Variables

$_color =

[line 51]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 53]

Image_3D_Light __construct( $x, $y, $z)

  • Access: public

Overridden in child classes as:

Image_3D_Light_Spotlight::__construct()
Image_3D_Light_Point::__construct()
Image_3D_Light_Ambient::__construct()

Overrides Image_3D_Coordinate::__construct() (Constructor for Image_3D_Coordinate)

Parameters:

   $x   — 
   $y   — 
   $z   — 

[ Top ]

getColor   [line 80]

void getColor( Image_3D_Interface_Enlightenable $polygon)

  • Access: public

Overridden in child classes as:

Image_3D_Light_Spotlight::getColor()
Image_3D_Light_Point::getColor()
Image_3D_Light_Ambient::getColor()

Parameters:

Image_3D_Interface_Enlightenable   $polygon   — 

[ Top ]

getPolygonCount   [line 60]

void getPolygonCount( )

  • Access: public

[ Top ]

getRawColor   [line 70]

void getRawColor( )

  • Access: public

[ Top ]

setColor   [line 65]

void setColor( Image_3D_Color $color)

  • Access: public

Parameters:

Image_3D_Color   $color   — 

[ Top ]

setOption   [line 75]

void setOption( $option, $value)

  • Access: public

Parameters:

   $option   — 
   $value   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.