Override default render settings for [Networked]
properties.
More...
Inherits Attribute.
Public Member Functions | |
RenderAttribute () | |
Default constructor for RenderAttribute More... | |
RenderAttribute (RenderTimeframe timeframe, RenderSource source) | |
RenderAttribute Constructor More... | |
Properties | |
string | Method [get, set] |
RenderSource | Source [get, set] |
RenderTimeframe | Timeframe [get, set] |
Override default render settings for [Networked]
properties.
RenderAttribute | ( | ) |
Default constructor for RenderAttribute
RenderAttribute | ( | RenderTimeframe | timeframe, |
RenderSource | source | ||
) |
RenderAttribute Constructor
timeframe | RenderTimeframe reference |
source | RenderSource reference |
|
getset |
Override the default interpolation method for this property. The method's signature must match:
static T MethodName(T from, T to, float alpha) { /* ... */ }
|
getset |
Force this property to be rendered using this RenderSource (in the chosen RenderTimeframe).
This setting is prioritized over NetworkBehaviour and NetworkObject overrides.
|
getset |
Force this property to be rendered in this RenderTimeframe.
This setting is prioritized over NetworkBehaviour and NetworkObject overrides.