C# Класс OpenMetaverse.Primitive.ParticleSystem

Complete structure for the particle system
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AngularVelocity System.Vector3
BurstPartCount byte
BurstRadius float
BurstRate float
BurstSpeedMax float
BurstSpeedMin float
CRC uint
InnerAngle float
MaxAge float
OuterAngle float
PartAcceleration System.Vector3
PartDataFlags ParticleDataFlags
PartEndColor Color4
PartEndScaleX float
PartEndScaleY float
PartFlags uint
PartMaxAge float
PartStartColor Color4
PartStartScaleX float
PartStartScaleY float
Pattern SourcePattern
StartAge float
Target UUID
Texture UUID

Открытые методы

Метод Описание
GetBytes ( ) : byte[]

Generate byte[] array from particle data

ParticleSystem ( byte data, int pos ) : System

Decodes a byte[] array into a ParticleSystem Object

Описание методов

GetBytes() публичный Метод

Generate byte[] array from particle data
public GetBytes ( ) : byte[]
Результат byte[]

ParticleSystem() публичный Метод

Decodes a byte[] array into a ParticleSystem Object
public ParticleSystem ( byte data, int pos ) : System
data byte ParticleSystem object
pos int Start position for BitPacker
Результат System

Описание свойств

AngularVelocity публичное свойство

A T:Vector3 which represents the velocity (speed) from the source which particles are emitted
public Vector3,System AngularVelocity
Результат System.Vector3

BurstPartCount публичное свойство

A representing the maximum number of particles emitted per burst
public byte BurstPartCount
Результат byte

BurstRadius публичное свойство

A representing the number of meters around the center of the source where particles will be created.
public float BurstRadius
Результат float

BurstRate публичное свойство

A representing the number of seconds between burts.
public float BurstRate
Результат float

BurstSpeedMax публичное свойство

A representing in seconds the maximum speed of new particles being emitted.
public float BurstSpeedMax
Результат float

BurstSpeedMin публичное свойство

A representing in seconds, the minimum speed between bursts of new particles being emitted
public float BurstSpeedMin
Результат float

CRC публичное свойство

public uint CRC
Результат uint

InnerAngle публичное свойство

A in radians that specifies where particles will not be created
public float InnerAngle
Результат float

MaxAge публичное свойство

A representing the maximimum age (in seconds) particle will be displayed
Maximum value is 30 seconds
public float MaxAge
Результат float

OuterAngle публичное свойство

A in radians that specifies where particles will be created
public float OuterAngle
Результат float

PartAcceleration публичное свойство

A T:Vector3 which represents the Acceleration from the source which particles are emitted
public Vector3,System PartAcceleration
Результат System.Vector3

PartDataFlags публичное свойство

Flags of particle from T:ParticleDataFlags
public ParticleDataFlags PartDataFlags
Результат ParticleDataFlags

PartEndColor публичное свойство

The T:Color4 the particle has at the ending of its lifecycle
public Color4 PartEndColor
Результат Color4

PartEndScaleX публичное свойство

A that represents the ending X size of the particle
Minimum value is 0, maximum value is 4
public float PartEndScaleX
Результат float

PartEndScaleY публичное свойство

A that represents the ending Y size of the particle
Minimum value is 0, maximum value is 4
public float PartEndScaleY
Результат float

PartFlags публичное свойство

Particle Flags
There appears to be more data packed in to this area for many particle systems. It doesn't appear to be flag values and serialization breaks unless there is a flag for every possible bit so it is left as an unsigned integer
public uint PartFlags
Результат uint

PartMaxAge публичное свойство

Max Age particle system will emit particles for
public float PartMaxAge
Результат float

PartStartColor публичное свойство

The T:Color4 the particle has at the beginning of its lifecycle
public Color4 PartStartColor
Результат Color4

PartStartScaleX публичное свойство

A that represents the starting X size of the particle
Minimum value is 0, maximum value is 4
public float PartStartScaleX
Результат float

PartStartScaleY публичное свойство

A that represents the starting Y size of the particle
Minimum value is 0, maximum value is 4
public float PartStartScaleY
Результат float

Pattern публичное свойство

T:SourcePattern pattern of particles
public SourcePattern Pattern
Результат SourcePattern

StartAge публичное свойство

A representing the number of seconds, from when the particle source comes into view, or the particle system's creation, that the object will emits particles; after this time period no more particles are emitted
public float StartAge
Результат float

Target публичное свойство

The T:UUID Key of the specified target object or avatar particles will follow
public UUID Target
Результат UUID

Texture публичное свойство

The T:UUID Key of the texture displayed on the particle
public UUID Texture
Результат UUID