C# Class GlobeLineMaker, VJ01

Inheritance: MonoBehaviour
Show file Open project: keijiro/VJ01

Public Properties

Property Type Description
historyLength float
sampleInterval float
tailPrefab GameObject
target Transform
velocity float

Public Methods

Method Description
AddJoint ( GameObject node, GameObject boundTo ) : void
AddRigidbody ( GameObject node ) : void
Awake ( ) : void
CutLine ( ) : void
EnqueueFrameWithInterval ( ) : void
SpawnTail ( Frame, frames ) : void
Update ( ) : void

Private Methods

Method Description
MakePath ( ) : UnityEngine.AnimationCurve[]

Method Details

AddJoint() public method

public AddJoint ( GameObject node, GameObject boundTo ) : void
node GameObject
boundTo GameObject
return void

AddRigidbody() public method

public AddRigidbody ( GameObject node ) : void
node GameObject
return void

Awake() public method

public Awake ( ) : void
return void

CutLine() public method

public CutLine ( ) : void
return void

EnqueueFrameWithInterval() public method

public EnqueueFrameWithInterval ( ) : void
return void

SpawnTail() public method

public SpawnTail ( Frame, frames ) : void
frames Frame,
return void

Update() public method

public Update ( ) : void
return void

Property Details

historyLength public property

public float historyLength
return float

sampleInterval public property

public float sampleInterval
return float

tailPrefab public property

public GameObject tailPrefab
return GameObject

target public property

public Transform target
return Transform

velocity public property

public float velocity
return float