float Scale { get; set; }

robot_2Generated
code_blocksInput

Description

The Scale property of the PhysicsBody class represents the scale factor applied to the physics body. This property is marked as obsolete, indicating that it should not be used in new code as it may be removed in future versions.

Usage

Since the Scale property is obsolete, it is recommended to avoid using it in your code. Consider using other properties or methods that provide similar functionality without the risk of deprecation.

Example

// Example of accessing the Scale property (not recommended due to obsolescence)
PhysicsBody body = new PhysicsBody();
float scale = body.Scale; // Obsolete usage