Logo Search packages:      
Sourcecode: blender version File versions  Download package

GameTypes::KX_VertexProxy Class Reference

Inheritance diagram for GameTypes::KX_VertexProxy:

GameTypes::SCA_IObject GameTypes::CValue GameTypes::PyObjectPlus

List of all members.


Detailed Description

A vertex holds position, UV, colour and normal information.

Note:
The physics simulation is NOT currently updated - physics will not respond
to changes in the vertex position.

@ivar XYZ: The position of the vertex.
@type XYZ: list [x, y, z]
@ivar UV: The texture coordinates of the vertex.
@type UV: list [u, v]
@ivar normal: The normal of the vertex 
@type normal: list [nx, ny, nz]
@ivar colour: The colour of the vertex. 
              Black = [0.0, 0.0, 0.0, 1.0], White = [1.0, 1.0, 1.0, 1.0]
@type colour: list [r, g, b, a]
@ivar color: Synonym for colour.

@group Position: x, y, z
@ivar x: The x coordinate of the vertex.
@type x: float
@ivar y: The y coordinate of the vertex.
@type y: float
@ivar z: The z coordinate of the vertex.
@type z: float

@group Texture Coordinates: u, v
@ivar u: The u texture coordinate of the vertex.
@type u: float
@ivar v: The v texture coordinate of the vertex.
@type v: float

@ivar u2: The second u texture coordinate of the vertex.
@type u2: float
@ivar v2: The second v texture coordinate of the vertex.
@type v2: float

@group Colour: r, g, b, a
@ivar r: The red component of the vertex colour.   0.0 <= r <= 1.0
@type r: float
@ivar g: The green component of the vertex colour. 0.0 <= g <= 1.0
@type g: float
@ivar b: The blue component of the vertex colour.  0.0 <= b <= 1.0
@type b: float
@ivar a: The alpha component of the vertex colour. 0.0 <= a <= 1.0
@type a: float

Definition at line 4442 of file GameTypes.py.


Public Member Functions

def getName
def getNormal
def getRGBA
def getUV
def getUV2
def getXYZ
def isA
def setNormal
def setRGBA
def setUV
def setUV2
def setXYZ

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index