# C4D_Parallax

Objects
Category
5.1 OC
int
Object category: the object moves parallax with respect to the landscape. This means that the apparent object position changes depending on the scroll position of the viewport. This can be used to have objects apparently moving in the far background or to create status overlays.
Parallax deviation from the normal location is specified in percent and stored in an array in the `Parallaxity` property of the object (`Parallaxity[0]` for horizontal, `Parallaxity[1]` for vertical deviation). This means for normal location these two values should be 100. A value of 0 will lock the object to the viewport. For parallax background object use values between 0 and 100. Object positions can also be negative values. Those objects will then be aligned with the right or bottom edge of the screen respectively.
this
.Plane = -1000; SetCategory(GetCategory() | C4D_Parallax()); this.Parallaxity = [50, 50];
Moves the calling object into the background and adds horizontal parallaxity.
GetCategory
SetCategory
GetDefinition
C4D_Background
SetSkyParallax
Sven2
2003-06