Class CinemachineBasicMultiChannelPerlin
As a part of the Cinemachine Pipeline implementing the Noise stage, this component adds Perlin Noise to the Camera state, in the Correction channel of the CameraState.
The noise is created by using a predefined noise profile asset. This defines the shape of the noise over time. You can scale this in amplitude or in time, to produce a large family of different noises using the same profile.
상속
상속된 멤버
네임스페이스: Cinemachine
어셈블리: solution.dll
구문
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[AddComponentMenu("")]
public class CinemachineBasicMultiChannelPerlin : CinemachineComponentBase
필드
| 이름 | 설명 |
|---|---|
| m_AmplitudeGain | Gain to apply to the amplitudes defined in the settings asset. |
| m_FrequencyGain | Scale factor to apply to the frequencies defined in the settings asset. |
| m_NoiseProfile | Serialized property for referencing a NoiseSettings asset |
| m_PivotOffset | When rotating the camera, offset the camera's pivot position by this much (camera space) |
프로퍼티
| 이름 | 설명 |
|---|---|
| IsValid | True if the component is valid, i.e. it has a noise definition and is enabled. |
| Stage | Get the Cinemachine Pipeline stage that this component implements. Always returns the Noise stage |
메서드
| 이름 | 설명 |
|---|---|
| MutateCameraState(ref CameraState, float) | Applies noise to the Correction channel of the CameraState if the delta time is greater than 0. Otherwise, does nothing. |
| ReSeed() | Generate a new random seed |