Interface IParticlePlayer ​
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
The local player a particle system can query.
csharp
public interface IParticlePlayerMethods ​
GetForward(bool) ​
Gets the direction the player faces.
csharp
Vector3 GetForward(bool eyes)Parameters ​
eyes bool
Whether to take the direction the eyes look along rather than the level one the body faces.
Returns ​
TryGetPosition(ParticleEntityPos, out Vector3) ​
Gets a position on the player.
csharp
bool TryGetPosition(ParticleEntityPos position, out Vector3 value)Parameters ​
position ParticleEntityPos
Which position.
value Vector3
The world position.
Returns ​
bool
False when there is no player.

