Camera python module

From WiCWiki

Revision as of 09:29, 23 January 2008 by Vextor (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

wic.player.camera

A Python wrapper around the camera


Methods

Bank

Syntax
Bank( anUpVector[, aDelayTime] )
Description

Sets the camera banking angle

Exceptions
-
See also
-


BankImpulse

Syntax
BankImpulse( anImpulseAngle, anImpulseTime )
Description

Gives the camera a bank impulse

Exceptions
-
See also
-


BankNow

Syntax
BankNow( anUpVector[, aDelayTime] )
Description

Instantly sets the camera banking angle

Exceptions
-
See also
-


EnableFovOverride

Syntax
EnableFovOverride( aUseOverrideFlag )
Description

Enable or disable fov override for the camera

Exceptions
-
See also
-


GetFov

Syntax
GetFov()
Description

Retrieves the current FOV of the camera

Exceptions
-
See also
-


GetPosition

Syntax
GetPosition()
Description

Retrieves the current position of the camera

Exceptions
-
See also
-


GetRotation

Syntax
GetRotation()
Description

Retrieves the current rotation of the camera

Exceptions
-
See also
-


GoToPosition

Syntax
GoToPosition( aTargetPosition[, aDelayTime] )
Description

Moves the camera to the given position

Exceptions
-
See also
-


GoToPositionNow

Syntax
GoToPositionNow( aTargetPosition[, aDelayTime] )
Description

Instantly moves the camera to the given position

Exceptions
-
See also
-


GoToUnit

Syntax
GoToUnit( aUnitId, anOffsetVector )
Description

Moves the camera to the given unit

Exceptions
-
See also
-


GoToUnitNow

Syntax
GoToUnitNow( aUnitId, anOffsetVector )
Description

Instantly moves the camera to the given unit

Exceptions
-
See also
-


GrabCamera

Syntax
GrabCamera( [aShowBordersFlag[, anAspectRatio[, aBorderPosition[, aUseRealtimeFlag[, aDoUpdateFlag]]]]] )
Description

Takes control of the users camera

Exceptions
-
See also
-


IsActive

Syntax
IsActive()
Description

Returns true if the camera is held

Exceptions
-
See also
-


LookAngle

Syntax
LookAngle( aTargetAngle[, aDelayTime] )
Description

Rotates the camera towards the given angle

Exceptions
-
See also
-


LookAngleNow

Syntax
LookAngleNow( aTargetAngle[, aDelayTime] )
Description

Instantly rotates the camera towards the given angle

Exceptions
-
See also
-


LookAtPosition

Syntax
LookAtPosition( aTargetPosition[, aDelayTime] )
Description

Rotates the camera towards the given position

Exceptions
-
See also
-


LookAtPositionNow

Syntax
LookAtPositionNow( aTargetPosition[, aDelayTime] )
Description

Instantly rotates the camera towards the given position

Exceptions
-
See also
-


LookAtUnit

Syntax
LookAtUnit( aUnitId[, anOffsetVector] )
Description

Rotates the camera towards the given unit

Exceptions
-
See also
-


LookAtUnitNow

Syntax
LookAtUnitNow( aUnitId[, anOffsetVector] )
Description

Instantly rotates the camera towards the given unit

Exceptions
-
See also
-


PurgeCamera

Syntax
PurgeCamera()
Description

Clears all camera settings

Exceptions
-
See also
-


ReleaseCamera

Syntax
ReleaseCamera( [aBorderPosition] )
Description

Releases the camera back to the user

Exceptions
-
See also
-


RotationImpulse

Syntax
RotationImpulse( anImpulseVector, anImpulseTime )
Description

Gives the camera a rotational impulse

Exceptions
-
See also
-


SetCameraType

Syntax
SetCameraType( aCameraType )
Description

Sets the camera type to use

Exceptions
-
See also
-


VelocityImpulse

Syntax
VelocityImpulse( anImpulseVector, anImpulseTime )
Description

Gives the camera a velocity impulse

Exceptions
-
See also
-


ZoomImpulse

Syntax
ZoomImpulse( anImpulseFOV, anImpulseTime )
Description

Gives the camera a zoom impulse

Exceptions
-
See also
-


ZoomTo

Syntax
ZoomTo( aTargetFOV[, aDelayTime] )
Description

Zooms the camera to the given fov

Exceptions
-
See also
-


ZoomToNow

Syntax
ZoomToNow( aTargetFOV[, aDelayTime] )
Description

Instantly zooms the camera to the given fov

Exceptions
-
See also
-


Personal tools
User Created Content