RawImageを粉々にするクラス
More...
◆ FixedUpdate()
| void UshiSoft.ST.ShatterMesh.FixedUpdate |
( |
| ) |
|
|
private |
◆ GenerateFragment()
| void UshiSoft.ST.ShatterMesh.GenerateFragment |
( |
Vector2 | p1, |
|
|
Vector2 | p2, |
|
|
Vector2 | p3 ) |
|
private |
◆ GenerateFragments()
| void UshiSoft.ST.ShatterMesh.GenerateFragments |
( |
Vector2 | points[,] | ) |
|
|
private |
◆ GeneratePoints()
| Vector2[,] UshiSoft.ST.ShatterMesh.GeneratePoints |
( |
| ) |
|
|
private |
◆ Initialize()
| void UshiSoft.ST.ShatterMesh.Initialize |
( |
| ) |
|
|
private |
◆ OnPopulateMesh()
| override void UshiSoft.ST.ShatterMesh.OnPopulateMesh |
( |
VertexHelper | vh | ) |
|
|
protected |
◆ _explosionCenter
| Vector2 UshiSoft.ST.ShatterMesh._explosionCenter = Vector2.zero |
|
private |
◆ _explositionDirectionVariation
| float UshiSoft.ST.ShatterMesh._explositionDirectionVariation = 10f |
|
private |
◆ _explositionRadius
| float UshiSoft.ST.ShatterMesh._explositionRadius = 2000f |
|
private |
◆ _fragments
| List<Fragment> UshiSoft.ST.ShatterMesh._fragments = new() |
|
private |
◆ _generated
| bool UshiSoft.ST.ShatterMesh._generated |
|
private |
◆ _gravity
| Vector2 UshiSoft.ST.ShatterMesh._gravity = Vector2.down * 1000f |
|
private |
◆ _horizontalDivisions
| int UshiSoft.ST.ShatterMesh._horizontalDivisions = 16 |
|
private |
◆ _maxExplosionForce
| float UshiSoft.ST.ShatterMesh._maxExplosionForce = 600f |
|
private |
◆ _maxUpwardsModifier
| float UshiSoft.ST.ShatterMesh._maxUpwardsModifier = 0.6f |
|
private |
◆ _minExplosionForce
| float UshiSoft.ST.ShatterMesh._minExplosionForce = 400f |
|
private |
◆ _minUpwardsModifier
| float UshiSoft.ST.ShatterMesh._minUpwardsModifier = 0.4f |
|
private |
◆ _random
| float UshiSoft.ST.ShatterMesh._random = 0.4f |
|
private |
破片のもととなる点のばらつき度合い。 0~0.5。0.5以上にすると隣の点と交差してしまう可能性がある
◆ _verticalDivisions
| int UshiSoft.ST.ShatterMesh._verticalDivisions = 9 |
|
private |