Difference between revisions of "Vector"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{dafunction | |
+ | |name=Vector | ||
+ | |brief=Creates a vector. | ||
+ | |param1type=float | ||
+ | |param1name=x | ||
+ | |param1desc=x value for the vector | ||
+ | |param1default=0.0 | ||
+ | |param2type=float | ||
+ | |param2name=y | ||
+ | |param2desc=y value for the vector | ||
+ | |param2default=0.0 | ||
+ | |param3type=float | ||
+ | |param3name=z | ||
+ | |param3desc=z value for the vector | ||
+ | |param3default=0.0 | ||
+ | |returntype=vector | ||
+ | |returndesc=Returns a vector with the specified x, y, and z values. | ||
+ | |sourcefile=script.ldf | ||
+ | |sourcemodule= | ||
+ | }} | ||
− | + | == Description == | |
− | < | + | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> |
− | + | Returns a new vector with the specified x,y and z values. | |
− | + | ||
− | + | <!-- == Remarks == --> | |
+ | <!-- This section contains additional comments, observations and known issues. --> | ||
− | [[Category: | + | <!-- == Examples == --> |
+ | <!-- This section contains examples transcluded from the snippet library. --> | ||
+ | |||
+ | == See also == | ||
+ | <!-- This section contains links to articles, functions or constant groups. --> | ||
+ | [[GetVectorMagnitude]], [[GetVectorNormalize]] | ||
+ | [[Category: Math functions]] |
Latest revision as of 21:18, 2 March 2010
Creates a vector.
- Parameters:
- x
- x value for the vector
- y
- y value for the vector
- z
- z value for the vector
- Returns:
- Returns a vector with the specified x, y, and z values.
- Source:
- script.ldf
Description
Returns a new vector with the specified x,y and z values.