@:value({ margin : 0.04, mass : 1.0, bend : 0.5, shape : SoftShape.Cloth })new(shape:SoftShape = SoftShape.Cloth, bend:Float = 0.5, mass:Float = 1.0, margin:Float = 0.04)
body:SoftBody
@:value(false)ready:Bool = false
@:value(0.0)vertOffsetX:Float = 0.0
@:value(0.0)vertOffsetY:Float = 0.0
@:value(0.0)vertOffsetZ:Float = 0.0
@:value("")name:String = ""
object:Object
Object this trait belongs to.
notifyOnAdd(f:() ‑> Void):Void
Trait is added to an object.
notifyOnInit(f:() ‑> Void):Void
Object which this trait belongs to is added to scene.
notifyOnLateUpdate(f:() ‑> Void):Void
Add late game logic handler.
notifyOnRemove(f:() ‑> Void):Void
Object which this trait belongs to is removed from scene.
notifyOnRender(f:Graphics ‑> Void):Void
Add render handler.
notifyOnRender2D(f:Graphics ‑> Void):Void
Add 2D render handler.
notifyOnUpdate(f:() ‑> Void):Void
Add game logic handler.
remove():Void
Remove the trait from the object.
removeLateUpdate(f:() ‑> Void):Void
Remove late game logic handler.
removeRender(f:Graphics ‑> Void):Void
Remove render handler.
removeRender2D(f:Graphics ‑> Void):Void
Remove 2D render handler.
removeUpdate(f:() ‑> Void):Void
Remove game logic handler.