Struct BulletEmitParam
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: BulletStorm.dll
Syntax
[Serializable]
public struct BulletEmitParam
Constructors
|
Improve this Doc
View Source
BulletEmitParam(Vector3)
Declaration
public BulletEmitParam(Vector3 position)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
|
Improve this Doc
View Source
BulletEmitParam(Vector3, Vector3)
Declaration
public BulletEmitParam(Vector3 position, Vector3 velocity)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
UnityEngine.Vector3 |
velocity |
|
|
Improve this Doc
View Source
BulletEmitParam(Vector3, Vector3, Color, Vector3)
Declaration
public BulletEmitParam(Vector3 position, Vector3 velocity, Color color, Vector3 size)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
UnityEngine.Vector3 |
velocity |
|
UnityEngine.Color |
color |
|
UnityEngine.Vector3 |
size |
|
Fields
|
Improve this Doc
View Source
color
Declaration
[Tooltip("Color of the bullet, Color.clear (0, 0, 0, 0) will be override by bullet system default settings.")]
public Color color
Field Value
Type |
Description |
UnityEngine.Color |
|
|
Improve this Doc
View Source
position
Declaration
[Tooltip("Start position relative to emitter.")]
public Vector3 position
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
size
Declaration
[Tooltip("Size of the bullet, Vector3.zero (0, 0, 0) will be override by bullet system default settings.")]
public Vector3 size
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
velocity
Declaration
[Tooltip("Start velocity.")]
public Vector3 velocity
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
Properties
|
Improve this Doc
View Source
DefaultColor
Is color a default value?
Declaration
public bool DefaultColor { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultSize
Declaration
public bool DefaultSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Get relative parameters of a transform.
Declaration
public BulletEmitParam RelativeTo(Transform parent)
Parameters
Type |
Name |
Description |
UnityEngine.Transform |
parent |
The parent transform.
|
Returns