public FrustumRangeObjectV2(GameObject AssociatedGameObject, FrustumRangeObjectInitialization FrustumRangeObjectInitialization, CoreInteractiveObject AssociatedInteractiveObject, string objectName = "") { this.RangeType = RangeType.FRUSTUM; this.FrustumRangeObjectInitialization = FrustumRangeObjectInitialization; this.FrustumRangeObjectPositioningSystem = new FrustumRangeObjectPositioningSystem(this.GetFrustum(), this); var RangeGameObjectV2 = new RangeGameObjectV2(AssociatedGameObject, this.FrustumRangeObjectInitialization, this, AssociatedInteractiveObject, objectName); base.Init(RangeGameObjectV2, FrustumRangeObjectInitialization); }
public FrustumRangeObjectRenderingDataProvider(RoundedFrustumRangeObjectV2 RoundedFrustumRangeObjectV2, RangeTypeID RangeTypeID) : base(RoundedFrustumRangeObjectV2, RangeTypeID) { this.FrustumRangeObjectPositioningSystem = RoundedFrustumRangeObjectV2.FrustumRangeObjectPositioningSystem; this.Frustum = RoundedFrustumRangeObjectV2.GetFrustum(); }