Files
Convention-Unity-Demo/Assets/StreamingAssets/Helper/SplineCore.helper.h

55 lines
705 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "ScriptableObject.helper.h"
#define SplineCore
/*
<summary>
设置样条线类型
</summary>
<param name="mode">CatmullRom, BSpline, Bezier, Linear </param>
*/
#define SetType(mode)
/*
<summary>
设置采样类型
</summary>
<param name="mode">Default, Uniform, Optimized</param>
*/
#define SetSampleMode(mode)
/*
<summary>
闭环曲线
</summary>
*/
#define SetClose()
/*
<summary>
加载并加入新节点
</summary>
<param name="path">脚本位置</param>
*/
#define LoadNode(path)
/*
<summary>
加入已加载的节点如果目标脚本不是SplineNode
那么为其添加SplineNode组件
</summary>
<param name="path">脚本位置</param>
*/
#define AddNode(path)