string
|
getName()
Get the name of this Image object. |
source code
|
|
string
|
getFilename()
Get the filename of the image file loaded into this Image
object. |
source code
|
|
list of 2 ints
|
getSize()
Get the [width, height] dimensions (in pixels) of this image. |
source code
|
|
int
|
|
list of 4 floats
|
|
list of 4 floats
|
|
list of 4 ints
|
|
list of 2 ints
|
|
list of 2 ints
|
|
int
|
getXRep()
Get the number of repetitions in the x (horizontal) axis for this
Image. |
source code
|
|
int
|
getYRep()
Get the number of repetitions in the y (vertical) axis for this
Image. |
source code
|
|
int
|
|
int
|
|
int
|
|
int
|
|
|
|
|
|
int
|
glLoad()
Load this image's data into OpenGL texture memory, if it is not
already loaded (image.bindcode is 0 if it is not loaded yet). |
source code
|
|
|
glFree()
Delete this image's data from OpenGL texture memory, only (the
image itself is not removed from Blender's memory). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
none
|
|
none
|
setPixelF(x,
y,
(r, g, b, a))
Set the the colors of the current pixel in the form [r,g,b,a]. |
source code
|
|
none
|
setPixelI(x,
y,
(r, g, b, a))
Set the the colors of the current pixel in the form [r,g,b,a]. |
source code
|
|
|
|
none
|
|
none
|
|
bool
|
|
boolean
|
antialias
enable or disable the antialias option for this image.
|
int
|
bindcode
Texture's bind code (readonly).
|
bool
|
clampX
When true the image will not tile horizontally.
|
bool
|
clampY
When true the image will not tile vertically.
|
int
|
depth
The pixel depth of the image, read only.
|
int
|
end
Texture's animation end frame [0, 128].
|
bool
|
fakeUser
When set to True, this datablock wont be removed, even if nothing
is using it.
|
boolean
|
fields
enable or disable the fields option for this image.
|
boolean
|
fields_odd
enable or disable the odd fields option for this image.
|
string
|
filename
The filename (path) to the image file loaded into this Image
object.
|
boolean
|
has_data
True when the image has pixel data (readonly).
|
string or None
|
lib
path to the blend file this datablock is stored in (readonly).
|
string
|
name
unique name within each blend file.
|
boolean
|
packed
True when the Texture is packed (readonly).
|
IDGroup
|
properties
Returns an IDGroup reference to this datablocks's ID
Properties.
|
list
|
size
The [width, height] dimensions of the image (in pixels).
|
int
|
source
Image source type.
|
int
|
speed
Texture's animation speed [1, 100].
|
int
|
start
Texture's animation start frame [0, 128].
|
bool
|
tag
A temporary tag that to flag data as being used within a loop.
|
int
|
users
The number of users this datablock has.
|
int
|
xrep
Texture tiling: the number of repetitions in the x (horizontal)
axis.
|
int
|
yrep
Texture tiling: the number of repetitions in the y (vertical) axis
[1, 16].
|