Scale: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(Created page with "{{feature|1|0.3.0| |Vp_scale_example.png|Panel with scale (left) and without (right)}} The '''scale''' command allows the user to change the dimensions of any side of an obje...")
(No difference)

Revision as of 23:59, 13 November 2012

Scale
Vp scale example.png
Panel with scale (left) and without (right)
Build required 1
Version required 0.3.0


The scale command allows the user to change the dimensions of any side of an object

Usage

   scale size
   scale x y z

Arguments

Size
Controls the size of all of the dimensions (Same as setting X, Y and Z to the same value)
Values: Decimal values between 0.1 and infinity
Default: 1.0
X
Controls the size of the X dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0
Y
Controls the size of the Y dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0
Z
Controls the size of the Z dimension
Values: Decimal values between 0.1 and infinity
Default: 1.0

Example

create scale 2

noframe

create scale 2 0.5 4

noframe


Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb