Class GroupWeightManipulator
A class to get around the limitation in timeline that array members can't be animated.
A fixed number of slots are made available, rather than a dynamic array.
If you want to add more slots, just modify this code.
Inherited Members
Namespace: Cinemachine
Syntax
[RequireComponent(typeof(CinemachineTargetGroup))]
[ExecuteAlways]
[HelpURL("https://docs.unity.cn/Packages/com.unity.cinemachine@2.8/api/Cinemachine.GroupWeightManipulator.html")]
public class GroupWeightManipulator : MonoBehaviour
Fields
m_Weight0
The weight of the group member at index 0
Declaration
[Tooltip("The weight of the group member at index 0")]
public float m_Weight0
Field Value
Type | Description |
---|---|
Single |
m_Weight1
The weight of the group member at index 1
Declaration
[Tooltip("The weight of the group member at index 1")]
public float m_Weight1
Field Value
Type | Description |
---|---|
Single |
m_Weight2
The weight of the group member at index 2
Declaration
[Tooltip("The weight of the group member at index 2")]
public float m_Weight2
Field Value
Type | Description |
---|---|
Single |
m_Weight3
The weight of the group member at index 3
Declaration
[Tooltip("The weight of the group member at index 3")]
public float m_Weight3
Field Value
Type | Description |
---|---|
Single |
m_Weight4
The weight of the group member at index 4
Declaration
[Tooltip("The weight of the group member at index 4")]
public float m_Weight4
Field Value
Type | Description |
---|---|
Single |
m_Weight5
The weight of the group member at index 5
Declaration
[Tooltip("The weight of the group member at index 5")]
public float m_Weight5
Field Value
Type | Description |
---|---|
Single |
m_Weight6
The weight of the group member at index 6
Declaration
[Tooltip("The weight of the group member at index 6")]
public float m_Weight6
Field Value
Type | Description |
---|---|
Single |
m_Weight7
The weight of the group member at index 7
Declaration
[Tooltip("The weight of the group member at index 7")]
public float m_Weight7
Field Value
Type | Description |
---|---|
Single |