Vector3 Scale { get; set; }

robot_2Generated
code_blocksInput

Description

The Scale property of the PhysicsShape class represents the scale of the physics shape in a 3D space, defined as a Vector3. This property is marked as obsolete, indicating that it should not be used in new code and may be removed in future versions.

Usage

Since the Scale property is obsolete, it is recommended to avoid using it in your code. Instead, consider using alternative methods or properties provided by the PhysicsShape class or related classes to achieve the desired scaling effect.

Example

// Example of accessing the Scale property (not recommended due to obsolescence)
PhysicsShape shape = new PhysicsShape();
Vector3 currentScale = shape.Scale; // Obsolete usage

// Recommended: Use other properties or methods to manipulate the shape's size or scale.