getCurve(curve)
Return the specified IpoCurve. If the curve does not exist in the
Ipo, None is returned. curve can be either a string or an
integer, denoting either the name of the Ipo curve or its internal
adrcode. The possible Ipo curve names are:
-
Camera Ipo: Lens, ClSta, ClEnd, Apert, FDist.
-
Material Ipo: R, G, B, SpecR, SpecG, SpecB, MirR, MirG, MirB,
Ref, Alpha, Emit, Amb, Spec, Hard, SpTra, Ior, Mode, HaSize,
Translu, RayMir, FresMir, FresMirI, FresTra, FresTraI, TraGlow,
OfsX, OfsY, OfsZ, SizeX, SizeY, SizeZ, texR, texG, texB, DefVar,
Col, Nor, Var, Disp.
-
Object Ipo: LocX, LocY, LocZ, dLocX, dLocY, dLocZ, RotX, RotY,
RotZ, dRotX, dRotY, dRotZ, SizeX, SizeY, SizeZ, dSizeX, dSizeY,
dSizeZ, Layer, Time, ColR, ColG, ColB, ColA, FStreng, FFall,
Damping, RDamp, Perm.
-
Lamp Ipo: Energ, R, G, B, Dist, SpoSi, SpoBl, Quad1, Quad2,
HaInt.
-
World Ipo: HorR, HorG, HorB, ZenR, ZenG, ZenB, Expos, Misi,
MisDi, MisSta, MisHi, StaR, StaG, StaB, StarDi, StarSi, OfsX, OfsY,
OfsZ, SizeX, SizeY, SizeZ, TexR, TexG, TexB, DefVar, Col, Nor,
Var.
-
World Ipo: HorR, HorG, HorB, ZenR, ZenG, ZenB, Expos, Misi,
MisDi, MisSta, MisHi, StarR, StarB, StarG, StarDi, StarSi, OfsX,
OfsY, OfsZ,i SizeX, SizeY, SizeZ, texR, texG, texB, DefVar, Col,
Nor, Var.
-
Texture Ipo: NSize, NDepth, NType, Turb, Vnw1, Vnw2, Vnw3, Vnw4,
MinkMExp, DistM, ColT, iScale, DistA, MgType, MgH, Lacu, Oct,
MgOff, MgGain, NBase1, NBase2.
-
Curve Ipo: Speed.
-
Action Ipo: LocX, LocY, LocZ, SizeX, SizeY, SizeZ, QuatX, QuatY,
QuatZ, QuatW.
-
Sequence Ipo: Fac.
-
Constraint Ipo: Inf.
The adrcode for the Ipo curve can also be given; currently this is
the only way to access curves for Key Ipos. The adrcodes for Key Ipo
are numbered consecutively starting at 0.
-
- Parameters:
curve
(type=string or int)
- Returns:
-
the corresponding IpoCurve, or None.
(type=IpoCurve object)
- Raises:
ValueError -
curve is not a valid name or adrcode for this Ipo
type.
|