BlendModeEquation
¶Add = siege.sfml.BlendModeEquation.Add
Subtract = siege.sfml.BlendModeEquation.Subtract
BlendModeFactor
¶DstAlpha = siege.sfml.BlendModeFactor.DstAlpha
DstColor = siege.sfml.BlendModeFactor.DstColor
One = siege.sfml.BlendModeFactor.One
OneMinusDstAlpha = siege.sfml.BlendModeFactor.OneMinusDstAlpha
OneMinusDstColor = siege.sfml.BlendModeFactor.OneMinusDstColor
OneMinusSrcAlpha = siege.sfml.BlendModeFactor.OneMinusSrcAlpha
OneMinusSrcColor = siege.sfml.BlendModeFactor.OneMinusSrcColor
SrcAlpha = siege.sfml.BlendModeFactor.SrcAlpha
SrcColor = siege.sfml.BlendModeFactor.SrcColor
Zero = siege.sfml.BlendModeFactor.Zero
PrimitiveType
¶Lines = siege.sfml.PrimitiveType.Lines
LinesStrip = siege.sfml.PrimitiveType.LinesStrip
Points = siege.sfml.PrimitiveType.Points
Quads = siege.sfml.PrimitiveType.Quads
Triangles = siege.sfml.PrimitiveType.Triangles
TrianglesFan = siege.sfml.PrimitiveType.TrianglesFan
TrianglesStrip = siege.sfml.PrimitiveType.TrianglesStrip
BlendMode
¶__init__
(sourceFactor, destinationFactor[, blendEquation=siege.sfml.BlendModeEquation.Add])¶Parameters: |
|
---|
__init__
(colorSourceFactor, colorDestinationFactor, colorBlendEquation, alphaSourceFactor, alphaDestinationFactor, alphaBlendEquation)Parameters: |
|
---|
BlendAdd
¶BlendAlpha
¶BlendMultiply
¶BlendNone
¶alphaDstFactor
¶alphaEquation
¶alphaSrcFactor
¶colorDstFactor
¶colorEquation
¶colorSrcFactor
¶Drawable
¶draw
(arg2, arg3)¶Parameters: |
|
---|
draw
(arg2, arg3)Parameters: |
|
---|
VertexArray
¶__init__
(type[, vertexCount=0])¶Parameters: |
|
---|
clear
()¶getPrimitiveType
()¶Return type: | PrimitiveType |
---|
getVertexCount
()¶Return type: | int |
---|
resize
(arg2)¶Parameters: | arg2 (int) – |
---|
setPrimitiveType
(arg2)¶Parameters: | arg2 (PrimitiveType ) – |
---|
Shader
¶isAvailable
()¶Return type: | bool |
---|
loadFromFile
(arg2, arg3)¶Parameters: |
|
---|---|
Return type: | bool |
loadFromFile
(arg2, arg3)Parameters: |
|
---|---|
Return type: | bool |
loadFromMemory
(arg2, arg3)¶Parameters: |
|
---|---|
Return type: | bool |
loadFromMemory
(arg2, arg3)Parameters: |
|
---|---|
Return type: | bool |
setParameter
(arg2, arg3)¶Parameters: |
|
---|
setParameter
(arg2, arg3, arg4)Parameters: |
|
---|
setParameter
(arg2, arg3, arg4, arg5)Parameters: |
|
---|
setParameter
(arg2, arg3, arg4, arg5, arg6)Parameters: |
|
---|
setParameter
(arg2, arg3)Parameters: |
|
---|
setParameter
(arg2, arg3)Parameters: |
|
---|
setParameter
(arg2, arg3)Parameters: |
|
---|
setParameter
(arg2, arg3)Parameters: |
|
---|
setParameter
(arg2, arg3)Parameters: |
|
---|
SoundSource
¶getAttenuation
()¶Return type: | float |
---|
getMinDistance
()¶Return type: | float |
---|
getPitch
()¶Return type: | float |
---|
getVolume
()¶Return type: | float |
---|
isRelativeToListener
()¶Return type: | bool |
---|
setAttenuation
(arg2)¶Parameters: | arg2 (float) – |
---|
setMinDistance
(arg2)¶Parameters: | arg2 (float) – |
---|
setPitch
(arg2)¶Parameters: | arg2 (float) – |
---|
setRelativeToListener
(arg2)¶Parameters: | arg2 (bool) – |
---|
setVolume
(arg2)¶Parameters: | arg2 (float) – |
---|
Transform
¶rotate
(arg2, arg3, arg4)Parameters: |
|
---|---|
Return type: |
scale
(arg2, arg3, arg4, arg5)Parameters: |
|
---|---|
Return type: |
Transformable
¶getRotation
()¶Return type: | float |
---|
move
(arg2, arg3)¶Parameters: |
|
---|
move
(arg2)Parameters: | arg2 (sfVector ) – |
---|
rotate
(arg2)¶Parameters: | arg2 (float) – |
---|
scale
(arg2, arg3)¶Parameters: |
|
---|
scale
(arg2)Parameters: | arg2 (sfVector ) – |
---|
setOrigin
(arg2, arg3)¶Parameters: |
|
---|
setOrigin
(arg2)Parameters: | arg2 (sfVector ) – |
---|
setPosition
(arg2, arg3)¶Parameters: |
|
---|
setPosition
(arg2)Parameters: | arg2 (sfVector ) – |
---|
setRotation
(arg2)¶Parameters: | arg2 (float) – |
---|
setScale
(arg2, arg3)¶Parameters: |
|
---|
setScale
(arg2)Parameters: | arg2 (sfVector ) – |
---|
sfEvent
¶joystickButton
¶joystickConnect
¶joystickMove
¶key
¶mouseButton
¶mouseMove
¶mouseWheel
¶size
¶text
¶type
¶Closed = siege.sfml.EventType.Closed
Count = siege.sfml.EventType.Count
EventType = <class 'siege.sfml.EventType'>
GainedFocus = siege.sfml.EventType.GainedFocus
JoystickButtonEvent = <class 'siege.sfml.JoystickButtonEvent'>
JoystickButtonPressed = siege.sfml.EventType.JoystickButtonPressed
JoystickButtonReleased = siege.sfml.EventType.JoystickButtonReleased
JoystickConnectEvent = <class 'siege.sfml.JoystickConnectEvent'>
JoystickConnected = siege.sfml.EventType.JoystickConnected
JoystickDisconnected = siege.sfml.EventType.JoystickDisconnected
JoystickMoveEvent = <class 'siege.sfml.JoystickMoveEvent'>
JoystickMoved = siege.sfml.EventType.JoystickMoved
KeyEvent = <class 'siege.sfml.KeyEvent'>
KeyPressed = siege.sfml.EventType.KeyPressed
KeyReleased = siege.sfml.EventType.KeyReleased
LostFocus = siege.sfml.EventType.LostFocus
MouseButtonEvent = <class 'siege.sfml.MouseButtonEvent'>
MouseButtonPressed = siege.sfml.EventType.MouseButtonPressed
MouseButtonReleased = siege.sfml.EventType.MouseButtonReleased
MouseEntered = siege.sfml.EventType.MouseEntered
MouseLeft = siege.sfml.EventType.MouseLeft
MouseMoveEvent = <class 'siege.sfml.MouseMoveEvent'>
MouseMoved = siege.sfml.EventType.MouseMoved
MouseWheelEvent = <class 'siege.sfml.MouseWheelEvent'>
MouseWheelMoved = siege.sfml.EventType.MouseWheelMoved
Resized = siege.sfml.EventType.Resized
SizeEvent = <class 'siege.sfml.SizeEvent'>
TextEntered = siege.sfml.EventType.TextEntered
TextEvent = <class 'siege.sfml.TextEvent'>
sfIntRect
¶__init__
(arg2, arg3, arg4, arg5)¶Parameters: |
|
---|
__repr__
()¶Return type: | str |
---|
contains
(arg2, arg3)¶Parameters: |
|
---|---|
Return type: | bool |
contains
(arg2)Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | bool |
height
¶width
¶x
¶y
¶sfRect
¶__init__
(arg2, arg3, arg4, arg5)¶Parameters: |
|
---|
__repr__
()¶Return type: | str |
---|
contains
(arg2, arg3)¶Parameters: |
|
---|---|
Return type: | bool |
contains
(arg2)Parameters: | arg2 (sfVector ) – |
---|---|
Return type: | bool |
height
¶width
¶x
¶y
¶sfTileVector
¶__add__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | object |
__cmp__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | int |
__eq__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | object |
__hash__
()¶Return type: | int |
---|
__iadd__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | object |
__init__
(arg2, arg3)¶Parameters: |
|
---|
__isub__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | object |
__repr__
()¶Return type: | str |
---|
__sub__
(arg2)¶Parameters: | arg2 (sfTileVector ) – |
---|---|
Return type: | object |
x
¶y
¶sfVector3f
¶__add__
(arg2)¶Parameters: | arg2 (sfVector3f ) – |
---|---|
Return type: | object |
__eq__
(arg2)¶Parameters: | arg2 (sfVector3f ) – |
---|---|
Return type: | object |
__iadd__
(arg2)¶Parameters: | arg2 (sfVector3f ) – |
---|---|
Return type: | object |
__init__
(arg2, arg3, arg4)¶Parameters: |
|
---|
__isub__
(arg2)¶Parameters: | arg2 (sfVector3f ) – |
---|---|
Return type: | object |
__sub__
(arg2)¶Parameters: | arg2 (sfVector3f ) – |
---|---|
Return type: | object |
x
¶y
¶z
¶