FieldShape Class
Namespace: Stride.Particles.Updaters.FieldShapes
Assembly: Stride.Particles.dll
System.Object →
FieldShape
[DataContract("FieldShape")]
public abstract class FieldShape
Name |
Description |
Methods
|
|
GetDebugDrawShape(out Vector3, out Quaternion, out Vector3) |
|
|
GetDistanceToCenter(Vector3, Vector3, out Vector3, out Vector3, out Vector3) |
|
|
IsPointInside(Vector3, out Vector3, out Vector3) |
|
|
PreUpdateField(Vector3, Quaternion, Vector3) |
|
|
Improve this Doc
View Source
Methods
GetDebugDrawShape(out Vector3, out Quaternion, out Vector3)
public abstract DebugDrawShape GetDebugDrawShape(out Vector3 pos, out Quaternion rot, out Vector3 scl)
Parameters
Returns
GetDistanceToCenter(Vector3, Vector3, out Vector3, out Vector3, out Vector3)
public abstract float GetDistanceToCenter(Vector3 particlePosition, Vector3 particleVelocity, out Vector3 alongAxis, out Vector3 aroundAxis, out Vector3 awayAxis)
Parameters
Returns
Type |
Description |
System.Single |
|
IsPointInside(Vector3, out Vector3, out Vector3)
public abstract bool IsPointInside(Vector3 particlePosition, out Vector3 surfacePoint, out Vector3 surfaceNormal)
Parameters
Returns
Type |
Description |
System.Boolean |
|
PreUpdateField(Vector3, Quaternion, Vector3)
public abstract void PreUpdateField(Vector3 position, Quaternion rotation, Vector3 size)
Parameters
Extension Methods