3DCoat Python API
The 3DCoat Python API documentation.
|
Public Member Functions | |
__init__ (self) | |
any | __init__ (self, float S) |
__init__ (self, float X, float Y, float Z, float W) | |
__init__ (self, vec2 XY, float Z, float W) | |
__init__ (self, vec2 XY, vec2 ZW) | |
__init__ (self, vec3 XYZ, float W) | |
__init__ (self, vec4 v) | |
SetZero (self) | |
Set (self, float S) | |
Set (self, float X, float Y, float Z, float W) | |
Set (self, vec2 XY, float Z, float W) | |
Set (self, vec2 XY, vec2 ZW) | |
Set (self, vec3 XYZ, float W) | |
Copy (self, float pSrc) | |
float | __setitem__ (self, int index) |
float | __getitem__ (self, int index) |
vec4 | __neg__ (self) |
vec4 | __iadd__ (self, vec4 _0) |
vec4 | __isub__ (self, vec4 _0) |
vec4 | __imul__ (self, vec4 _0) |
vec4 | __imul__ (self, float _0) |
vec4 | __itruediv__ (self, vec4 _0) |
vec4 | __itruediv__ (self, float _0) |
Transform (self, mat4 _0) | |
__imul__ (self, mat4 _0) | |
vec4 | __assign__ (self, vec3 _0) |
vec4 | __add__ (self, vec4 _0) |
vec4 | __sub__ (self, vec4 _0) |
vec4 | __mul__ (self, vec4 _0) |
vec4 | __mul__ (self, float _0) |
vec4 | __truediv__ (self, vec4 _0) |
vec4 | __truediv__ (self, float _0) |
vec4 | __mul__ (self, mat4 _0) |
bool | __eq__ (self, vec4 _0) |
bool | __ne__ (self, vec4 _0) |
float | Length (self) |
float | LengthSq (self) |
float | Normalize (self) |
float | NormalizeSafe (self, vec4 Fallback=4) |
bool | IsNormalized (self, float Eps) |
bool | IsZero (self, float Eps) |
float | ToFloatPtr (self) |
float | ToFloatPtr (self) |
vec2 | ToVec2 (self) |
vec2 | ToVec2 (self) |
vec3 | ToVec3 (self) |
vec3 | ToVec3 (self) |
int | GetDimension (self) |
AddWithWeight (self, vec4 src, float weight) | |
for compatibility with OpenSubdiv //// | |
SetPosition (self, float aX, float aY, float aZ, float aW) | |
float | GetPosition (self) |
Static Public Member Functions | |
bool | Equals (vec4 _0, vec4 _1, float Eps) |
vec4 | Abs (vec4 _0) |
float | Dot (vec4 _0, vec4 _1) |
vec4 | Lerp (vec4 _0, vec4 _1, float _2) |
static cVec4 Cross(const cVec4 &, const cVec4 &, const cVec4 &); | |
vec4 | Max (vec4 _0, vec4 _1) |
vec4 | Min (vec4 _0, vec4 _1) |
coat.vec4.__init__ | ( | self | ) |
any coat.vec4.__init__ | ( | self, | |
float | S ) |
coat.vec4.__init__ | ( | self, | |
float | X, | ||
float | Y, | ||
float | Z, | ||
float | W ) |
coat.vec4.__init__ | ( | self, | |
vec2 | XY, | ||
float | Z, | ||
float | W ) |
coat.vec4.__init__ | ( | self, | |
vec3 | XYZ, | ||
float | W ) |
coat.vec4.__init__ | ( | self, | |
vec4 | v ) |
bool coat.vec4.__eq__ | ( | self, | |
vec4 | _0 ) |
float coat.vec4.__getitem__ | ( | self, | |
int | index ) |
vec4 coat.vec4.__imul__ | ( | self, | |
float | _0 ) |
coat.vec4.__imul__ | ( | self, | |
mat4 | _0 ) |
vec4 coat.vec4.__itruediv__ | ( | self, | |
float | _0 ) |
vec4 coat.vec4.__mul__ | ( | self, | |
float | _0 ) |
bool coat.vec4.__ne__ | ( | self, | |
vec4 | _0 ) |
vec4 coat.vec4.__neg__ | ( | self | ) |
float coat.vec4.__setitem__ | ( | self, | |
int | index ) |
vec4 coat.vec4.__truediv__ | ( | self, | |
float | _0 ) |
coat.vec4.AddWithWeight | ( | self, | |
vec4 | src, | ||
float | weight ) |
for compatibility with OpenSubdiv ////
coat.vec4.Copy | ( | self, | |
float | pSrc ) |
int coat.vec4.GetDimension | ( | self | ) |
float coat.vec4.GetPosition | ( | self | ) |
bool coat.vec4.IsNormalized | ( | self, | |
float | Eps ) |
bool coat.vec4.IsZero | ( | self, | |
float | Eps ) |
float coat.vec4.Length | ( | self | ) |
float coat.vec4.LengthSq | ( | self | ) |
static cVec4 Cross(const cVec4 &, const cVec4 &, const cVec4 &);
float coat.vec4.Normalize | ( | self | ) |
float coat.vec4.NormalizeSafe | ( | self, | |
vec4 | Fallback = 4 ) |
coat.vec4.Set | ( | self, | |
float | S ) |
coat.vec4.Set | ( | self, | |
float | X, | ||
float | Y, | ||
float | Z, | ||
float | W ) |
coat.vec4.Set | ( | self, | |
vec2 | XY, | ||
float | Z, | ||
float | W ) |
coat.vec4.Set | ( | self, | |
vec3 | XYZ, | ||
float | W ) |
coat.vec4.SetPosition | ( | self, | |
float | aX, | ||
float | aY, | ||
float | aZ, | ||
float | aW ) |
coat.vec4.SetZero | ( | self | ) |
float coat.vec4.ToFloatPtr | ( | self | ) |
float coat.vec4.ToFloatPtr | ( | self | ) |
vec2 coat.vec4.ToVec2 | ( | self | ) |
vec2 coat.vec4.ToVec2 | ( | self | ) |
vec3 coat.vec4.ToVec3 | ( | self | ) |
vec3 coat.vec4.ToVec3 | ( | self | ) |
coat.vec4.Transform | ( | self, | |
mat4 | _0 ) |