public static TssSdtFloat NewTssSdtFloat() { return(new TssSdtFloat { m_slot = TssSdtFloatSlot.NewSlot(null) }); }
private void SetValue(float v) { if (this.m_slot == null) { this.m_slot = TssSdtFloatSlot.NewSlot(null); } this.m_slot.SetValue(v); }
private float GetValue() { if (this.m_slot == null) { this.m_slot = TssSdtFloatSlot.NewSlot(null); } return(this.m_slot.GetValue()); }
private static void CollectSlot(TssSdtFloatSlot slot) { }
public static TssSdtFloatSlot NewSlot(TssSdtFloatSlot slot) { TssSdtFloatSlot.CollectSlot(slot); return(new TssSdtFloatSlot()); }
private void SetValue(float v) { if (m_slot == null) { m_slot = TssSdtFloatSlot.NewSlot(null); } m_slot.SetValue(v); }
private float GetValue() { if (m_slot == null) { m_slot = TssSdtFloatSlot.NewSlot(null); } return m_slot.GetValue(); }
//reserver for custom memory pool imp private static void CollectSlot(TssSdtFloatSlot slot) { }
//reserver for custom memory pool imp public static TssSdtFloatSlot NewSlot(TssSdtFloatSlot slot) { CollectSlot(slot); TssSdtFloatSlot new_slot = new TssSdtFloatSlot(); return new_slot; }